Message ID | 1465786696-47729-1-git-send-email-meng.yi@nxp.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <dri-devel-bounces@lists.freedesktop.org> 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 08AF160573 for <patchwork-dri-devel@patchwork.kernel.org>; Mon, 13 Jun 2016 08:09:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EDFBD20410 for <patchwork-dri-devel@patchwork.kernel.org>; Mon, 13 Jun 2016 08:09:17 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E2B772665D; Mon, 13 Jun 2016 08:09:17 +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 88E1B20410 for <patchwork-dri-devel@patchwork.kernel.org>; Mon, 13 Jun 2016 08:09:17 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 9F3B16E3EF; Mon, 13 Jun 2016 08:09:15 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from na01-bl2-obe.outbound.protection.outlook.com (mail-bl2on0084.outbound.protection.outlook.com [65.55.169.84]) by gabe.freedesktop.org (Postfix) with ESMTPS id E42F989872 for <dri-devel@lists.freedesktop.org>; Mon, 13 Jun 2016 03:08:40 +0000 (UTC) Received: from BLUPR0301CA0032.namprd03.prod.outlook.com (10.162.113.170) by CY1PR03MB2380.namprd03.prod.outlook.com (10.167.8.6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.517.8; Mon, 13 Jun 2016 03:08:38 +0000 Received: from BN1BFFO11FD023.protection.gbl (2a01:111:f400:7c10::1:113) by BLUPR0301CA0032.outlook.office365.com (2a01:111:e400:5259::42) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.517.8 via Frontend Transport; Mon, 13 Jun 2016 03:08:38 +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 BN1BFFO11FD023.mail.protection.outlook.com (10.58.144.86) with Microsoft SMTP Server (TLS) id 15.1.511.7 via Frontend Transport; Mon, 13 Jun 2016 03:08:37 +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 u5D38Wdp028784; Sun, 12 Jun 2016 20:08:34 -0700 From: Meng Yi <meng.yi@nxp.com> To: <stefan@agner.ch>, <boris.brezillon@free-electrons.com>, <airlied@linux.ie>, <emil.l.velikov@gmail.com>, <jianwei.wang.chn@gmail.com>, <alexander.stein@systec-electronic.com> Subject: [PATCH] Exchange lable fail_encoder and fail_connector Date: Mon, 13 Jun 2016 10:58:16 +0800 Message-ID: <1465786696-47729-1-git-send-email-meng.yi@nxp.com> X-Mailer: git-send-email 2.1.0.27.g96db324 X-EOPAttributedMessage: 0 X-Matching-Connectors: 131102609181604977; (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)(356003)(189998001)(36756003)(85426001)(50986999)(86362001)(4326007)(106466001)(2906002)(33646002)(68736007)(6806005)(5008740100001)(104016004)(8666004)(97736004)(5001770100001)(229853001)(87936001)(47776003)(11100500001)(2201001)(5003940100001)(586003)(81166006)(81156014)(50226002)(8676002)(8936002)(77096005)(50466002)(19580395003)(48376002)(19580405001)(92566002)(105606002)(7059030); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR03MB2380; 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; BN1BFFO11FD023; 1:jqCjWdpGHV2qo0ql0ipHF/Bjkni74ZH3PZypRW4/KNtA5T+hfz1XgXvkCNlPEThM/Wor6CRH23mhxYWATPjEiquqS2PqPXfGINP71eruxwGRRGoxMj/IUcQRJ7iqQsO4zXbkK5OArbP++8ccIADYiIj0VLvbb2HEedv5ved05vRbqIsEQIvZRcN552N0Fw+BGu4VfBZGzBHvaw5paXdg4LfjXGSdGI+ngnAqWTZvNYGoZ/hI2TjcSJnUIifxqdPIBvqqKJ5K8JUIz/z1XzXZlg47lwFZ8aQ0QwAv1zApDkYOGJimw/D3k1u78Ug8FWjUDd9LTPocHKUgGDuJybB8Khwd2BT6ftFrtzRHuV0dqOjsCsrR/16hc5WGh2SLD300DzGez20s6/8I4y4TaDx2hPxRJlXBgF1zRlB+iHOFrI/a4FfSraIpMKMS4s5zHGVfnV1+cpUBGa8iNDMOVJLqQj2LEFPYdduukJpiiTabIfm+AjSAqhjnpC82l4wpWfmyzFHIip3hQ//9nA4HCG6kTY7BKG9+/brmSvwBQ47F+X/3ciz1Ki7rzUOV0XhnQmOFFieSkTEUkTazEQB5gOdK9SipfxgShbx+LgO80WFKarTeVoIhlQl08UHajt8tH8IAYqEazdEJ6WmcjfqB9Lgz5uFcEvII7c2U3Gm7n3tht5HbK7bihN6sPwNfGzVsk3UF MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: e6067136-23e3-424f-1b10-08d3933803da X-Microsoft-Exchange-Diagnostics: 1; CY1PR03MB2380; 2:ck+FMv7BfNxyoEyt07o2oNwiQX8Ck3CJ/vnztLzl7XWqBs7u+/I3MSS6vBqRB/lD+nwMqhuTxCLormawJeQ62HfvO7laTFyM09rm6pRHwDtOfFkz1OxywTWrL0UL4KNKQm2dND3B2eTM1z4PoizcbBCpltlRSeHuLmi3S04Um6fWVjEKLpMz+NFR5DssgD6T; 3:ilZ0m8L/dntmzIgTCzd0VMmax//nLx3CyhtxTJzxpFs5McNMY3rwCB675Vu46/jTawXY7lpn90SoG6Q+4jnihoTICA+ajXRdAefheGlR5TLACFlWGqczvCvpVYFWxiN6orXBEEPtHbWvUN/xKf5qT7hs7ugN2mO6o553TI62lM5MVTe77+mDo1JxVrNOInpCTKXSNXlr6gOXjfIdVnU+39/7MTPN4XKO2htvqp1K/Oc= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:CY1PR03MB2380; X-Microsoft-Exchange-Diagnostics: 1; CY1PR03MB2380; 25:GUY70zVZZOj26E1fal/bL9BH3kpm/qj7dwv7ORixJUukpT4MkWuLkHoR7hRXWNdYPPxBeqDb5F4mItZQljVXOjiy7+lVvDatOjqTuXOgFyfz3oCTnxDUlgxAeIXN59Nwe8/rf1MckcHPXiCCfCKNdJ68LD8CLVDY0zuUd4jPNxYMAFxuHyIZ3NnMONE0L6z7k8l+QrvuSLC9ctfl8rkVAuKsxSEeAG6DETqJUSlyx8FgGrz11gfOG/kcl7FNyzRe7DUAXcpj5Ggrfe9MawQhJ3V2jQW545oMsPShPAWLaZ1akcqDl/aab2WVdVwHDB4KZuCTySE1MeFY+ib4K72CI08Iz8pNZ9I/UPBCVqGHqxEKJhM34Uo3H8N5m1i/+7cNvGh/Yd00pUiMLq/iZPYFwz8Xl0A2+LnmgJuXnd/Q8jWCZKRLwfkQQG9MjMyBl7eaB1x7thoR2qeOAvtMQAZEcnSVl9tq43Xy//GfXdUPYcgVEZsqJI3dBJjjxFsoHf+NNfCJi8+w+rs/pxcXxti81qsC/rxmdwobe4u0Q4hCp+KCwv6Q/ZAErvSRJYncHGWHVCIAPzbs00lzPphqSW62dsRpBIqhUF6HIO6FpG8+8i6KrgdlESYq7UzFGoNuz3O/1vjUIj41o5awA0lC3ahqpRHWR8Y5IucvKbfVd8/TdjxB4PA+r+Fp+iI1U+91y/hZjVAWv52hS9oegmGmoh86sA== X-Microsoft-Antispam-PRVS: <CY1PR03MB2380A98E2B5D2FD44D13DC04EC530@CY1PR03MB2380.namprd03.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(13015025)(8121501046)(5005006)(13017025)(13018025)(13023025)(13024025)(3002001)(10201501046)(6055026); SRVR:CY1PR03MB2380; BCL:0; PCL:0; RULEID:(400006); SRVR:CY1PR03MB2380; X-Microsoft-Exchange-Diagnostics: 1; CY1PR03MB2380; 4:nwLijOiZwT+AZDDtef/TXffMAghEMipFabGjNSicrGUyvM/rrrgCcBZKNxnQ7ToEiJI33KxhTKGttqmKYPC9xNXHzC/FDZakLJmyFK14cJNT0Yu0gdckNvyZgodU2KTo342rw0AOV75C7byqB0aRii1P5eb+i9MQ4e9ImMd2GsV/AZuApWvBsiRkaFrd83YL6RMTybgJ1uzcoMnmT+fNZvwYq4f+VeT2dM+IDeB9gwxIDV1zx+MmKQEuYyD0pKrORX5Ot/uaIYd5W6nvKPyPWiPoStU0dM6kmiKv3PHYVklEbdIA9S2flx1tGzGLfYvz65lA/+/3vgb7flFAMVOdrrih1j1VFUn+/jsVn1p+3bjhAIcWg16BVNpZlss79csHpkqbHspvYrNM7tX6QaOBCY5BNeFMNwdHa1dlAu+HasbK7GrnaSLlI+q3WV7WJKAAb40/WuDAsDrFSdaGKUVXpl5x+ywZta/ZVRtJvr8rQ0ujIRnrzdXrkr6Nm4UNkjbP8w2qwhdfqoiL6rN1PM6S5Q== X-Forefront-PRVS: 0972DEC1D9 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR03MB2380; 23:M7hIEQtIuVm2oCR51ZsOreIEWraVXAFmy+YpW4S7m?= =?us-ascii?Q?AkYKtna0xMOADnUb4DwT8mbXIZuERkxdNjO1Z/1cdvf21tq5CFM01Mu44d8Z?= =?us-ascii?Q?qCKhYcOuiw8bys813zaEeKcWXnEMWs+kpBEakeGoB44WBWiPKkS9/sMokRnA?= =?us-ascii?Q?SW+A1CF1dDiUb1HbjZSAZPUkuDHbislzRbeCMZEPE6wrrsx5n0G/CRak49Tl?= =?us-ascii?Q?Vjb7r2DqjP+k63nAnX+hbbTfGmXL9s+dxGCd7SVH3uKJEebp9frVn0MQeNyY?= =?us-ascii?Q?tWDIQ3FL7zuc/gwdFisW4hZCSMLUhcIeEnd60U1anlXKqVN2ws8nACeS5kUt?= =?us-ascii?Q?azY0mnXu8EACfcyVbGvr+FtIziwoAZpr3HgnIesu91q2Y9gdh2jEelpqrN5M?= =?us-ascii?Q?QRCP0EKdDlC3MJzA+FV29fRpwk15UIOv/sqEkEhWD7TTdnCRlY9TCn324ite?= =?us-ascii?Q?twqYlwTYwDXRPHbjMdQ0r+hz/rOm2UJd/8v2XmkgtXR4X0npE8lRZraIlC38?= =?us-ascii?Q?RxeYkvcvO0ghyFhCs2KHCQJlHgN6XarcCSTSx2jF5lFJ73hJKIghg21q3ZcN?= =?us-ascii?Q?8ITHL1Qq9tgGNJvZXL2SK9dP13v3gHPW5viHDO8GNnBnDIE2FqHRnenTsglg?= =?us-ascii?Q?wxZvXJIBQWuoJ4m4eSCxLtGdeLZEWq7wKG+p+meexldYpNJe+qRhjoJTOxBV?= =?us-ascii?Q?WJggJ6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giUmzrjm6A3ecrFkc0Uym5SAGsF4ZjIB8UC5J4Jv6VFBw4cMmbRkfCJzbWBircHDnrU+Map+Vy1zA=; 7:lwijgPDMzTlJLAdFBpDTWBhNsd2rA/DpYZi0NXPgXcz+6Aw4kFWkYHtF24xjo0raPG59tz2rA1P5EaMI05z3aRpDibskWj/E5k9Lsdg5oVlUMH9jH5PdVMNfiek9ddkS052wBJoOzG8t8YOsbrLCftsWKohA5lmUuJymtyvlmXcR+ZB0nWQaOX2rhAmmUAUWwW9YLDexlvzJ9QnPclh3pA== SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Jun 2016 03:08:37.9576 (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: CY1PR03MB2380 X-Mailman-Approved-At: Mon, 13 Jun 2016 08:09:14 +0000 Cc: Meng Yi <meng.yi@nxp.com>, 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 <dri-devel.lists.freedesktop.org> List-Unsubscribe: <https://lists.freedesktop.org/mailman/options/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=unsubscribe> List-Archive: <https://lists.freedesktop.org/archives/dri-devel> List-Post: <mailto:dri-devel@lists.freedesktop.org> List-Help: <mailto:dri-devel-request@lists.freedesktop.org?subject=help> List-Subscribe: <https://lists.freedesktop.org/mailman/listinfo/dri-devel>, <mailto:dri-devel-request@lists.freedesktop.org?subject=subscribe> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" <dri-devel-bounces@lists.freedesktop.org> X-Virus-Scanned: ClamAV using ClamSMTP |
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; }
The lable fail_connector should placed before fail_encoder since encoder was initialized before connector. which should also be called after connector initialization failed. Signed-off-by: Meng Yi <meng.yi@nxp.com> --- drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_kms.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)