From patchwork Thu Jun 16 09:02:16 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Meng Yi X-Patchwork-Id: 9180803 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 8788060760 for ; Thu, 16 Jun 2016 13:19:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7748228360 for ; Thu, 16 Jun 2016 13:19:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6B42728365; Thu, 16 Jun 2016 13:19:45 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 70F0728360 for ; Thu, 16 Jun 2016 13:19:44 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 0FD326E10B; Thu, 16 Jun 2016 13:19:41 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org X-Greylist: delayed 171696 seconds by postgrey-1.35 at gabe; Thu, 16 Jun 2016 09:12:44 UTC Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1bon0074.outbound.protection.outlook.com [157.56.111.74]) by gabe.freedesktop.org (Postfix) with ESMTPS id 63B1E6E256 for ; Thu, 16 Jun 2016 09:12:44 +0000 (UTC) Received: from CH1PR03CA001.namprd03.prod.outlook.com (10.255.156.146) by BN3PR03MB2369.namprd03.prod.outlook.com (10.166.74.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.517.8; Thu, 16 Jun 2016 09:12:41 +0000 Received: from BY2FFO11OLC007.protection.gbl (10.255.156.132) by CH1PR03CA001.outlook.office365.com (10.255.156.146) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.511.8 via Frontend Transport; Thu, 16 Jun 2016 09:12:41 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed) header.d=none; nxp.com; dmarc=none action=none header.from=nxp.com; nxp.com; dkim=none (message not signed) header.d=none; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BY2FFO11OLC007.mail.protection.outlook.com (10.1.14.254) with Microsoft SMTP Server (TLS) id 15.1.511.7 via Frontend Transport; Thu, 16 Jun 2016 09:12:41 +0000 Received: from titan.ap.freescale.net ([10.192.208.233]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id u5G9CZcc014879; Thu, 16 Jun 2016 02:12:37 -0700 From: Meng Yi To: , , , , , Subject: [PATCH v2] drm/fsl-dcu: Exchange fail_encoder and fail_connector Date: Thu, 16 Jun 2016 17:02:16 +0800 Message-ID: <1466067736-22754-1-git-send-email-meng.yi@nxp.com> X-Mailer: git-send-email 2.1.0.27.g96db324 X-EOPAttributedMessage: 0 X-Matching-Connectors: 131105419613609414; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(7916002)(2980300002)(1109001)(1110001)(339900001)(199003)(189002)(68736007)(189998001)(5001770100001)(2906002)(97736004)(5003940100001)(229853001)(5008740100001)(77096005)(4326007)(8676002)(8666005)(11100500001)(2201001)(50986999)(86362001)(87936001)(19580405001)(81156014)(47776003)(19580395003)(81166006)(50466002)(586003)(50226002)(8936002)(36756003)(6806005)(33646002)(85426001)(104016004)(356003)(105606002)(48376002)(106466001)(92566002)(7059030); DIR:OUT; SFP:1101; SCL:1; SRVR:BN3PR03MB2369; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; CAT:NONE; LANG:en; CAT:NONE; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11OLC007; 1:b1FwV8QJ8gpmEEp2vpye+3fOBCWn014h4Wx8VDDT09nyyTH7Epc6tHxdLVoByhkJcJdR98vThyunPAoaQ4Cj4GdmmTSsViw7C5zmfobQX/xuRaR2HrMP/ky6F2ghw07ko7IzLc6DF1AnpipSEAAMG3zHlu1LbrYP6Ly5NVAvwUxrYTfA05ePBzP3T3ORBMBOUd3jdas09pOPUII/AhKEpbNzY309nta3/zIcimVakTngueOMNxuI86x2FW4gSU1hpNJfiDeJeoYwu0ZUQUlSoPapiY1Q5fts/ZpINpkSn37PjtBu/3lY2hIv0x7yft7m8qcGqAiYlsuNF4uZARll44dD4ZVuiNy0xqrCRRzOFNmdPWdwyII0ZOQqvOpjSyPXePPU8tzYVKZfKX5L4M9bcnI0R/zkHf9nMz310JH3S1Or+iv+7qD8Bf/Pqhpl5jOueq+++i4sQqeHAI2AResYMaEJHt2za5VXbXDiZES38FbSYlWAAxxWk0GzxJhHM0Xchp9bx8CNu8XboG+LGmRKwbubDKVeB0CXefq9f5xeHzeN0Ti9fh9F2d39Lwfu801vyrJXAsSof+SnymaQGqwZr0vSMveyUt5uOFKKRcGUbeuYQTdj14rXzsct9lTdW/1dfJCZCUP59sGxzXH1Fk+ATJkF8WsxMuRHd4BWQZpRCe75FhsGvdQM3QNLokVL+7Ox MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 0b7c9559-321a-4067-3c68-08d395c65ea7 X-Microsoft-Exchange-Diagnostics: 1; BN3PR03MB2369; 2:QBh6Up1s6+4aTcm7PLVVeioAAMaX/GU0i7qiQ65f8QVuzx6cIkOsGMafF6aljOeTiY5TheQEQjnm4x5/QVgaajML/wGRT2XOT89n4sC8l8jvTOlbhP7QitU2XBfCx/722NMLO9nTgLS263kADElxSMdOZam0ympJVsbs3q0EPUmMzpmt9Nz/XeOUzViYcIgt; 3:pIN5ArCGeh2jEJi89lmQrKdZL3f/gnzI7at3jn/ZBGqd0K/b+ATcNoIW4BIdPt6Cish4C6IVl+ND+4DjwfGFPOkwVToMxv9pz+pVsfsmuQwDwTmQy9OZS534rrYduzccHKkchN/U4BAX/KhY91Ceb5Cvj63xZjABlveKjdXa9z+sHAKd1NZCGUFtY09Cji2V4DoUFQQmLXOoVBkLmFYVmMh6ZmF0+sb5Yrx/PRbNUhQ= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BN3PR03MB2369; X-Microsoft-Exchange-Diagnostics: 1; BN3PR03MB2369; 25:ss4U37k4QpktoQHGa1QwizYKu5nYQrohFSTfVv+wxuG8UllzpzwYf4VWcIYaQL4CutzPQVFDWm2fL9cK0fnrw2EbLblZbauNhod95ZwWG8rPEEWK6/fGFgRwZ1QjCl6iliolyW/7UpsP4aNSEPKgd7XM2XddUiQ57Snl4uUtjI2X6viLMYCBNi5B+cnS7S0Y/Ems/uCY/dQlPjCAwbk7M8mZLenJ6TIiWirGDdxAnh3h0r7M3Ueu4k8r0llZkh63kkvGj2McPBv2vDwzDounPaTDCr95rHfyld7o7BrklthmqdHg529lsg+vvN6DT16ASDV7MFOY/wKKlyk5HEfZtn0SWYbxTmkvpJwSTNsbPicOqon3h+Z7UrYOXBrHmQHvmMntp/5TO8tlP190oilqxTZErxkCufa9YxyG41I/slGXV0/NAD+mbhtawM9WlWCWUZqfC6DiLE/p15gbY2u1wGG/6S6pcBkdaT0OjEGU3tH7vYCoYeJv7Pam/26T+Jm7xLP+KcoezosdXSS5L5F/2wkSmC2ctyWQFZ4NO5pZIV3wio7KJK3Wbeg7IJ2w8Ma48TpaHY0kWXffKrmhC29VOP/tGP0GtVhqZUAkFVSFZJvj64wkovGPTfOsunGFqImiGDf7XVYotH0xuGmV81zzUljpqqDhT4wtH3+WO0hmOTOKMvWmJD3cLzvdoNNJdHtddGx78GWbOj3aPwrJ0VZX1w== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(13018025)(5005006)(8121501046)(13023025)(13024025)(13017025)(13015025)(3002001)(10201501046)(6055026); SRVR:BN3PR03MB2369; BCL:0; PCL:0; RULEID:(400006); SRVR:BN3PR03MB2369; X-Microsoft-Exchange-Diagnostics: 1; BN3PR03MB2369; 4:vWX/o+6oAIZwR0YN1jcZdP/ZDg6lrMOcexkw/DRLbCwyBjSdwFKOdlJbF6auv3fpsIAtyKLul+H0HYkS2cth7k5xmN39BWMajnoUyS6gbSY00aHdX+z5s4OYv0dkHWFMOQqZvuV/mhYKc7giU/+zMsHj24HL851g36+b2QeP+Tjt5qy9OepHjz7AZlMuNFc40uaVnJr7CiJ55cRrkuYSx0HEoKTADwuqwfPf8Hw/Bru9abZnpv7euXm9NbHVH2vPGc/rn6GDuFZDUBAKU8Q+xM24UGEcKU0nx8DF/08OwgVeu6lngNEJiqjw+XTDSgB1viskWfcItnmUJZzQwm9lio4SvHAT8yOrcyHj9b9IB692QgataM2FPSYYnl6K/DHpQbS18BbHjIgyhub8wFC1HxKX5YLmvQcWYIeVwRrXVbxsAIATo0y729SXev0rftis+GHJKx0yewSR/weqUQQ4GHnCQVvHAN2fcSldn3OorMt+a7hw95OLS4xV/YnsB+p+XrBB9uSBt2QAdGpjSymHVg== X-Forefront-PRVS: 09752BC779 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN3PR03MB2369; 23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lFwXodkpdfx1diD4+GcffULNE67cK/ICB5kJ1iCPpI9QBtv8IVySJwvevv/uIUuj8Vg71dW1fI+ct4FPyCgM6w== SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Jun 2016 09:12:41.1581 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR03MB2369 X-Mailman-Approved-At: Thu, 16 Jun 2016 13:19:40 +0000 Cc: Meng Yi , dri-devel@lists.freedesktop.org X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Meng Yi --- Change in V2: -add prefix "drm/fsl-dcu" to subject --- drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_kms.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_kms.c b/drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_kms.c index c564ec6..759527e 100644 --- a/drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_kms.c +++ b/drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_kms.c @@ -51,9 +51,9 @@ int fsl_dcu_drm_modeset_init(struct fsl_dcu_drm_device *fsl_dev) drm_kms_helper_poll_init(fsl_dev->drm); return 0; -fail_encoder: - fsl_dev->crtc.funcs->destroy(&fsl_dev->crtc); fail_connector: fsl_dev->encoder.funcs->destroy(&fsl_dev->encoder); +fail_encoder: + fsl_dev->crtc.funcs->destroy(&fsl_dev->crtc); return ret; }