From patchwork Tue Dec 24 17:34:24 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mihail Atanassov X-Patchwork-Id: 11309565 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 0D43C109A for ; Tue, 24 Dec 2019 17:34:48 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D36262071A for ; Tue, 24 Dec 2019 17:34:47 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="g8et/zax"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.b="FtK2EgE7"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.b="FtK2EgE7" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D36262071A Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:In-Reply-To:References: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=hJAtO/Z8DQy1Twfd+JU8OmReOpEk61ywe8iW+hyaN88=; b=g8et/zaxiFCT+C TWK4O2BBkEDroxfR/3TgGF0Bjhrbt6iehoGA9F5UJFLgb18qUp8WECDvo9xOMK+eSiChK7VDw1XkO ZVbkadD8JZsB651QjUB013e2HFa5DkVrqwjC9CbHGlkvZF7TKNVimjoHdXPJyMQSo+VDmFJLffPU+ J5RZ7LOTkhUbUv8F8JNhlF7llDWBHrogaUq/FPxCStCJ6xsnYPmF0I+Y+xc4E06jWT2gxrA2Thsj2 a04Z8Hrbx2gAar4wj7zCsyKblmK+cjsKdFLvvAGVvjsfVnjLT7ibbpKcdJiqLe1u9aPt3Z4RQAsG1 VCPPTqAte+QVkI9+5SwQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1ijo4z-000185-QQ; Tue, 24 Dec 2019 17:34:45 +0000 Received: from mail-eopbgr30066.outbound.protection.outlook.com ([40.107.3.66] helo=EUR03-AM5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1ijo4v-00016d-Mo for linux-arm-kernel@lists.infradead.org; Tue, 24 Dec 2019 17:34:44 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=JnV3umvNfwpdcLqxBCqkJxzlBMZ+r053Qfn4Wsk9O7c=; b=FtK2EgE7kxnRfGBeC2MPPQLACu1uKU9d1cyj+vTcQCVq7VKdOf2sZEMB+OANzXPeHYRyyoGHb2bz9t3CozD2bNm4MqpgBaAll5cwh28P/6Et5mj6+wsvKfWb1x4CcojzqD79jIAVwIiwTZRuioPuLbQa3tcdac+G/PscL/RaRs8= Received: from HE1PR0802CA0007.eurprd08.prod.outlook.com (2603:10a6:3:bd::17) by AM6PR08MB4488.eurprd08.prod.outlook.com (2603:10a6:20b:71::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.14; Tue, 24 Dec 2019 17:34:34 +0000 Received: from VE1EUR03FT028.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e09::204) by HE1PR0802CA0007.outlook.office365.com (2603:10a6:3:bd::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2581.11 via Frontend Transport; Tue, 24 Dec 2019 17:34:33 +0000 Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; lists.infradead.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;lists.infradead.org; dmarc=bestguesspass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by VE1EUR03FT028.mail.protection.outlook.com (10.152.18.88) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.14 via Frontend Transport; Tue, 24 Dec 2019 17:34:33 +0000 Received: ("Tessian outbound 121a58c8f9bf:v40"); Tue, 24 Dec 2019 17:34:32 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 839410e269e35020 X-CR-MTA-TID: 64aa7808 Received: from 64861fc03c2f.4 by 64aa7808-outbound-1.mta.getcheckrecipient.com id D4E18AE5-8643-4259-A6C8-61B5FCB808B1.1; Tue, 24 Dec 2019 17:34:27 +0000 Received: from EUR01-VE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 64861fc03c2f.4 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 24 Dec 2019 17:34:27 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=D9zUkcYNz+kD4pJw1/T+nZGnFhldbkTo/NegLQ2a7wXVegVaXbfeIHBzkz9anBhRxgz4uTEgZaI5FiktYrdzoFKNBWUT9cnGXkMMnHDbqakKWQsY67Gqos44UMybexyas3qhsRYfOl2Iy78AAB1SkII0XUPtPwFtPznmIVQ8wI4VJBrBeJz51UjgVBTZbFOR0alG1KNncbc4AltRnfz6CFDEtGa2UsZXRbsX3WN66Aqlg7vyb82z8bV6b94kecH+DRMvipZdtYDNbEhvEeFEuB1dP2h/BeRcDWU89g7z6SRvk4c0UCfgdHL96Rhvel5PkO8mGLTPWGCSIRNzcOH2vA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=JnV3umvNfwpdcLqxBCqkJxzlBMZ+r053Qfn4Wsk9O7c=; b=b6aBlOf0OiTll2dBKWPqHkcAoVJQ8bhDwFfaiqri3iS7lAe0AX8rjRbU3aNLrTJEgEWhT8qZVzgtzb+azgoavK6qCRuJuIfa/EaLuUlqZzlsuoBaYbIOiI7BkF4utVz0nMVYfTrsA3xK4hF/ph1+zhzHAiTiWXC2lWXT3D8rlwoi5PeJLONMQZDO03uLSn5qYo+nvSUEb/qTvboPRk73EtJ1LF3ekbmVbrasrBwmOnkFGc0PgeUDZf/tD/cglrLsI1BlbV2+wku1lTjkgz2EGc8BlAJ4KLmc0nTM3RKc0DI/2T4KQwOjyg6DATOxz0OTNgnhXx51AP+wx7OcdeVLZg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=JnV3umvNfwpdcLqxBCqkJxzlBMZ+r053Qfn4Wsk9O7c=; b=FtK2EgE7kxnRfGBeC2MPPQLACu1uKU9d1cyj+vTcQCVq7VKdOf2sZEMB+OANzXPeHYRyyoGHb2bz9t3CozD2bNm4MqpgBaAll5cwh28P/6Et5mj6+wsvKfWb1x4CcojzqD79jIAVwIiwTZRuioPuLbQa3tcdac+G/PscL/RaRs8= Received: from VI1PR08MB4078.eurprd08.prod.outlook.com (20.178.127.92) by VI1PR08MB2702.eurprd08.prod.outlook.com (10.170.239.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.14; Tue, 24 Dec 2019 17:34:26 +0000 Received: from VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::3d0a:7cde:7f1f:fe7c]) by VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::3d0a:7cde:7f1f:fe7c%7]) with mapi id 15.20.2559.017; Tue, 24 Dec 2019 17:34:26 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH v3 05/35] drm/exynos: mic: Stop using drm_bridge->driver_private Thread-Topic: [PATCH v3 05/35] drm/exynos: mic: Stop using drm_bridge->driver_private Thread-Index: AQHVuoBigv2vEibt+0GqA7jMsM/uxg== Date: Tue, 24 Dec 2019 17:34:24 +0000 Message-ID: <20191224173408.25624-6-mihail.atanassov@arm.com> References: <20191224173408.25624-1-mihail.atanassov@arm.com> In-Reply-To: <20191224173408.25624-1-mihail.atanassov@arm.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [217.140.106.53] x-clientproxiedby: LNXP123CA0023.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:d2::35) To VI1PR08MB4078.eurprd08.prod.outlook.com (2603:10a6:803:e5::28) x-mailer: git-send-email 2.24.0 Authentication-Results-Original: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 370cc3c3-17f9-4c9e-79a7-08d788978a0f X-MS-TrafficTypeDiagnostic: VI1PR08MB2702:|VI1PR08MB2702:|AM6PR08MB4488: x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true x-ms-oob-tlc-oobclassifiers: OLM:6790;OLM:6790; x-forefront-prvs: 0261CCEEDF X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(346002)(376002)(136003)(366004)(396003)(39860400002)(189003)(199004)(81156014)(8676002)(478600001)(36756003)(4326008)(8936002)(66446008)(64756008)(66946007)(66476007)(66556008)(26005)(186003)(44832011)(6506007)(2616005)(81166006)(71200400001)(316002)(2906002)(1076003)(6512007)(54906003)(6916009)(6486002)(86362001)(5660300002)(52116002); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB2702; H:VI1PR08MB4078.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: UtunOQsjvO+cICPXtRbaGUZ9jFK+Pe7bUKGP9QiCk+YihI4jtdcAtVeu9HzFOK0LOHNWsgKG6jDyayl6uXiW0a/56lkbpugb4JOD2I+dBnW+m/EPlAq+oJsNHSTnZYBBupEz7y3A39LwL9h5NzxOC7KlwPOl53HXR0nKNf9P11NU+MQTaXgxIkleiz8VOGyqs2mkZdLmJvJGhKqYftU57Bg1Pu3IKjoaQwRKVnKhLe7xsuS3bQ+aoC3Lub8Vl5810Ed/IaRx1khOE45TJ2OgIVGBCdlYhEUFw6EXvBd11JtguX9v9lCuMnJnWLdgtyZOpYhLamSEIwhsMwnj1jrJwLtNCmcmC2J6G331qvbnKNwkgEOa4P+0fQ3pAKwa+D6tK6/1eAyFynJL6Gdt+4zt90R2d7OUSK22sIZxZlRkH42+4gtCeOgZ5WL474ga9KQD MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB2702 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT028.eop-EUR03.prod.protection.outlook.com X-Forefront-Antispam-Report: CIP:63.35.35.123; IPV:CAL; SCL:-1; CTRY:IE; EFV:NLI; SFV:NSPM; SFS:(10009020)(4636009)(346002)(376002)(136003)(396003)(39860400002)(189003)(199004)(81156014)(107886003)(8676002)(356004)(26826003)(70206006)(186003)(26005)(36756003)(4326008)(478600001)(336012)(2616005)(8936002)(6506007)(81166006)(6862004)(2906002)(1076003)(6512007)(54906003)(86362001)(5660300002)(70586007)(36906005)(6486002)(316002)(76130400001); DIR:OUT; SFP:1101; SCL:1; SRVR:AM6PR08MB4488; H:64aa7808-outbound-1.mta.getcheckrecipient.com; FPR:; SPF:Pass; LANG:en; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; MX:1; A:1; X-MS-Office365-Filtering-Correlation-Id-Prvs: 344412ce-2f0a-47e2-cc89-08d7889784be NoDisclaimer: True X-Forefront-PRVS: 0261CCEEDF X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Kc0YHfgaWGMm83GR2zRrX47UQgwHtaIufdb5noR79C1uqH96QO8bsndLpkCHxaD7VB1Ts2JJry2hpN0mj1bsUXhlMXMbxhpBpBK9v2y2cDU2WF8bpnSAj/LPqrtKDVKzt7qKrO6MVQB8Q6vaEmx3zwV5eqh5qi3GQGov0LZH8bVpul5ABWKgRilckh+9SolYN7xamEibtoIFh/AXBwKiEt4k0t/jAvSkLHHgrOJaDzMpitQ/AHiiC/x6nINvmGOtUMi52VxvJUpAtNYAuBgf8On7ksHYTTnOpszFVntbNkspmujGEcu2KnfzDHHJ+v2x3e0QiUMZw3f6pC3wB5eljhGuAqfJnfb0xzFHPSGJ/kwEeM94L8QTeZ3FIGUMsQ01Nu5f7ut7wiNVCrIa6NN8fhrzMVrjW3jaXWmL8C0rOuAqja49nHZquYWEKJM/bNO1 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Dec 2019 17:34:33.2672 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 370cc3c3-17f9-4c9e-79a7-08d788978a0f X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR08MB4488 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191224_093441_748979_33F1CCFD X-CRM114-Status: GOOD ( 11.65 ) X-Spam-Score: -0.0 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [40.107.3.66 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.0 UNPARSEABLE_RELAY Informational: message has unparseable relay lines X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mihail Atanassov , David Airlie , "linux-kernel@vger.kernel.org" , Krzysztof Kozlowski , Inki Dae , "linux-samsung-soc@vger.kernel.org" , Daniel Vetter , nd , "linux-arm-kernel@lists.infradead.org" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Use a container_of wrapper instead. Note that no logic depends on driver_private being NULL or not, so the cleanup in exynos_mic_bind is safe to apply. Cc: Inki Dae Signed-off-by: Mihail Atanassov --- Reviewer note: the driver_private cleanup used to be part of the relevant drm_bridge_init() patch. drivers/gpu/drm/exynos/exynos_drm_mic.c | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_mic.c b/drivers/gpu/drm/exynos/exynos_drm_mic.c index f41d75923557..2b5f10c3a285 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_mic.c +++ b/drivers/gpu/drm/exynos/exynos_drm_mic.c @@ -106,6 +106,8 @@ struct exynos_mic { bool enabled; }; +#define bridge_to_exynos_mic(b) container_of((b), struct exynos_mic, bridge) + static void mic_set_path(struct exynos_mic *mic, bool enable) { int ret; @@ -232,7 +234,7 @@ static void mic_disable(struct drm_bridge *bridge) { } static void mic_post_disable(struct drm_bridge *bridge) { - struct exynos_mic *mic = bridge->driver_private; + struct exynos_mic *mic = bridge_to_exynos_mic(bridge); mutex_lock(&mic_mutex); if (!mic->enabled) @@ -251,7 +253,7 @@ static void mic_mode_set(struct drm_bridge *bridge, const struct drm_display_mode *mode, const struct drm_display_mode *adjusted_mode) { - struct exynos_mic *mic = bridge->driver_private; + struct exynos_mic *mic = bridge_to_exynos_mic(bridge); mutex_lock(&mic_mutex); drm_display_mode_to_videomode(mode, &mic->vm); @@ -261,7 +263,7 @@ static void mic_mode_set(struct drm_bridge *bridge, static void mic_pre_enable(struct drm_bridge *bridge) { - struct exynos_mic *mic = bridge->driver_private; + struct exynos_mic *mic = bridge_to_exynos_mic(bridge); int ret; mutex_lock(&mic_mutex); @@ -309,10 +311,6 @@ static const struct drm_bridge_funcs mic_bridge_funcs = { static int exynos_mic_bind(struct device *dev, struct device *master, void *data) { - struct exynos_mic *mic = dev_get_drvdata(dev); - - mic->bridge.driver_private = mic; - return 0; } From patchwork Tue Dec 24 17:34:47 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mihail Atanassov X-Patchwork-Id: 11309569 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A28D314E3 for ; Tue, 24 Dec 2019 17:35:08 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7B7A52071E for ; Tue, 24 Dec 2019 17:35:08 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="ORLxrCiH"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.b="td2erWyA"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.b="td2erWyA" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7B7A52071E Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:In-Reply-To:References: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=3O2mUDqURThOg+WwuxPhwXrMyIHcRnistoxCOun67OQ=; b=ORLxrCiHZBZ5Am AY5JGVUFv91eXNNMAWYV93xGisdUjLiS6puXMh8X2n55Dt7XjclYqIOZuXq696IqmSVsM7EMkPWc6 SvThoCF1RCPgmNqvZOsXYaiCjjJkvAEjJ/UIBCVmJhCqEZBNMmCjhSiO4aaKIuiByzF+Gd1I062zM Q8jFpWKUMrTyD4OKgmQbIxc44bFN6JsRVZV8+uPCDCd85rJyTZtXAo7OQlf3re46tvBebrgwUPRBA Uem5GtNglaqXqQkkuT0LAPbNUVHOfVNLNCco7ZihJJi+VFotu2GR1EeaZ+YRYCbZHOtZWhpNgmovP veWiWvxVhRkc+uPZy3Ug==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1ijo5J-0001Pu-Nr; Tue, 24 Dec 2019 17:35:05 +0000 Received: from mail-eopbgr00063.outbound.protection.outlook.com ([40.107.0.63] helo=EUR02-AM5-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1ijo5G-0001LU-KK for linux-arm-kernel@lists.infradead.org; Tue, 24 Dec 2019 17:35:04 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=PnfS47iHXpzx6sxAqOtbtIbu7X0P1v8fJ9luy5E/qKU=; b=td2erWyAbEbcpwoN55M57FuHctDvJyKYN82v/JmDG16cc/7PLglaPQglxjyIsnIWf7pipBv+E8cXE+R00McQwMCM1TaAuLEzJC0GOOWnph+fhwjOe6Om9n4ASbiW56/ssRN+VitKVMsv+bbz+a2TLD5Tp/HEIyZh2UTli1P6M0s= Received: from DB6PR0801CA0054.eurprd08.prod.outlook.com (2603:10a6:4:2b::22) by AM0PR08MB4995.eurprd08.prod.outlook.com (2603:10a6:208:162::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.16; Tue, 24 Dec 2019 17:34:58 +0000 Received: from DB5EUR03FT025.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e0a::202) by DB6PR0801CA0054.outlook.office365.com (2603:10a6:4:2b::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.14 via Frontend Transport; Tue, 24 Dec 2019 17:34:58 +0000 Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; lists.infradead.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;lists.infradead.org; dmarc=bestguesspass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by DB5EUR03FT025.mail.protection.outlook.com (10.152.20.104) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.14 via Frontend Transport; Tue, 24 Dec 2019 17:34:58 +0000 Received: ("Tessian outbound e09e55c05044:v40"); Tue, 24 Dec 2019 17:34:58 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 9d3a1bdd31e541b2 X-CR-MTA-TID: 64aa7808 Received: from bdd2edd0996c.17 by 64aa7808-outbound-1.mta.getcheckrecipient.com id C55D55F3-DDD8-4DE0-9C1D-C3FC67248690.1; Tue, 24 Dec 2019 17:34:53 +0000 Received: from EUR04-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id bdd2edd0996c.17 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 24 Dec 2019 17:34:53 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XcQB8XbgomU20APihe96xG8kWnRoDVzupRzJJ0kACEAOe1D4RDCxJAn96c8hcj0+c4PSINhuz2Vsoma4Jewq4sHAf8iYoIDqw7fkV7xTY23DUiQvtDCbU9ZbmECs7sUmpVrbw9DNVFivDqGjyJWeZKC1ysCN/0Q0VTncKoyrylGfHLIw9CLb1O1O04FCL6e8dl/i8kOSTGgg6TLYTfwj38FAGrOqKsaS1ID/lhgrTYHwkVzWTs+Zxu6hNEI47JXN3Ixsqf+lT40TdevIR9cgEYLp+maWUNIbAhx4z+mUarwV5RIJB2IZwD4wBRJ+OAjKa/rVdNwQU9ku4VCNMa3fCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=PnfS47iHXpzx6sxAqOtbtIbu7X0P1v8fJ9luy5E/qKU=; b=KIE+YVdntT8NAWoykz6TYB4vQEMzlkZ9ZqW0FV2EQKZfpU4I8Rxv41KxjCqaRTpvy+91+VKT8yuDi2okca2ShwbEogsuNH5XjmLVeb4cMyWeIe/9VeevZCeeVBXdTjTL3xWDS0/aOoQFTEDOgdi1vYm+Oy4cqleC+qL8UY+r3cDMmfRX/MfP3OYqQpAYq8+51MBCOVmno1Zhu3oKaBX02FJhobZRArgvzZ6voXUk3XO0Sk51eOOSIOF+wscZ3BcgaIgNioSjW/jS4pDCEj9JLt4aD5z87IpbG+gdFb1QqJoxnmM7xKUGBEDOtHY4lpsNmxtT5y6SwA+Ep5kE06MPSA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=PnfS47iHXpzx6sxAqOtbtIbu7X0P1v8fJ9luy5E/qKU=; b=td2erWyAbEbcpwoN55M57FuHctDvJyKYN82v/JmDG16cc/7PLglaPQglxjyIsnIWf7pipBv+E8cXE+R00McQwMCM1TaAuLEzJC0GOOWnph+fhwjOe6Om9n4ASbiW56/ssRN+VitKVMsv+bbz+a2TLD5Tp/HEIyZh2UTli1P6M0s= Received: from VI1PR08MB4078.eurprd08.prod.outlook.com (20.178.127.92) by VI1PR08MB2672.eurprd08.prod.outlook.com (10.170.238.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.16; Tue, 24 Dec 2019 17:34:47 +0000 Received: from VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::3d0a:7cde:7f1f:fe7c]) by VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::3d0a:7cde:7f1f:fe7c%7]) with mapi id 15.20.2559.017; Tue, 24 Dec 2019 17:34:47 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH v3 29/35] drm/exynos: mic: Use drm_bridge_init() Thread-Topic: [PATCH v3 29/35] drm/exynos: mic: Use drm_bridge_init() Thread-Index: AQHVuoBvC3rXHYh6JUCmNkUa0coD7A== Date: Tue, 24 Dec 2019 17:34:47 +0000 Message-ID: <20191224173408.25624-30-mihail.atanassov@arm.com> References: <20191224173408.25624-1-mihail.atanassov@arm.com> In-Reply-To: <20191224173408.25624-1-mihail.atanassov@arm.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [217.140.106.53] x-clientproxiedby: LNXP123CA0023.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:d2::35) To VI1PR08MB4078.eurprd08.prod.outlook.com (2603:10a6:803:e5::28) x-mailer: git-send-email 2.24.0 Authentication-Results-Original: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 613a7924-65c4-47e6-13f1-08d78897991a X-MS-TrafficTypeDiagnostic: VI1PR08MB2672:|VI1PR08MB2672:|AM0PR08MB4995: x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true x-ms-oob-tlc-oobclassifiers: OLM:324;OLM:324; x-forefront-prvs: 0261CCEEDF X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(346002)(376002)(39860400002)(396003)(136003)(366004)(199004)(189003)(186003)(26005)(7416002)(52116002)(6506007)(6486002)(81166006)(6512007)(81156014)(8676002)(8936002)(44832011)(54906003)(478600001)(316002)(6916009)(2906002)(4326008)(2616005)(36756003)(1076003)(66446008)(64756008)(66556008)(66476007)(66946007)(4744005)(5660300002)(71200400001)(86362001); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB2672; H:VI1PR08MB4078.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: MJQp0lrj4tzSqzpOH/xk7MDMJ+O+NcL+p+zPzO8ffuCPeZoFftGg/u1DmkpDf/AgASUpFcU8HjZLpCMpcQDMWCnd5XCDZ7F2J1X4Upl9ULzhqocnYOiSYxqEKyW6vlkVz6w9Aq6tQD/JB4g4DU4zZdLhzfdtE2w6MtUYu/3YLKzOCcXffzReZN7TGc2MBfz+fSoCy5eNSTDz3uvKd6vcMNwGVtYeqAUsAg8Vt2WgYaE4cdmgQyGAYqaG8lWtmjb2zrcy2GaP7r/yHlpq1ZG7REYMfn0S9ug+LmJ98eNUBTUu34wtj7jGRiGpLR+atp+L1sKvE4DhfK8B61LR9Ztys2jZV8yV9x9gEgU0X7QsxejEpW6B1er2yyTjHzkVpyfq7lfwmdLLDMMMDOwsuhIZTZ9O6RPShaY4A78zr1TB6rGT9fsAv0YhMY3y/UQDXZHF MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB2672 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT025.eop-EUR03.prod.protection.outlook.com X-Forefront-Antispam-Report: CIP:63.35.35.123; IPV:CAL; SCL:-1; CTRY:IE; EFV:NLI; SFV:NSPM; SFS:(10009020)(4636009)(39860400002)(376002)(396003)(346002)(136003)(199004)(189003)(5660300002)(1076003)(2906002)(70206006)(4744005)(26826003)(70586007)(336012)(316002)(8936002)(478600001)(6862004)(356004)(36756003)(186003)(8676002)(107886003)(4326008)(81156014)(76130400001)(54906003)(6506007)(26005)(6512007)(2616005)(81166006)(6486002)(86362001); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR08MB4995; H:64aa7808-outbound-1.mta.getcheckrecipient.com; FPR:; SPF:Pass; LANG:en; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; A:1; MX:1; X-MS-Office365-Filtering-Correlation-Id-Prvs: 1b4ac4f6-3c22-4f27-a3f6-08d78897922c NoDisclaimer: True X-Forefront-PRVS: 0261CCEEDF X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: MxvykWpmQT8mBTuQdUX/kU8wk8Xor1YKWli3gUtVxVRUj96b2V+SR6Jn4H071z2bzeB9mkbsAHQaGZ+JZUaYq4Y/5IKiIASZSFn2B2rfbox4VjSJRyosXfAAXa82Rvb1oIvi6B9A/MYdCRFoQcV16yyN9zPHVXVYofX5iQlBwT9HuLh10HVg0GbBvylC/xCPWNp8lcDq6R119af/Aj7ytv8Qch25j3VWBnDQgfAH6/gFxc5bq3C0LE2aMR/kUwS+jOs9cOHT71oqu+T2WXsdXQBaOmPdtdmag9sSM37Hc+hgMTatLxaeASu6golBMGFLeRtQONVOwFBS+/iTRfXpmojEf+jWPaxivOOHSF8Gw4eeAU1LnyWi0DeNQeTYUcpIY63ccfM3lR8lxsRFJTEhR5AKkioUN2+Q+uBUvqSHZpM+5LfPQXj3NU0Gxmi4Yf1b X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Dec 2019 17:34:58.5736 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 613a7924-65c4-47e6-13f1-08d78897991a X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB4995 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191224_093502_675654_E0A1F139 X-CRM114-Status: GOOD ( 10.62 ) X-Spam-Score: -0.0 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [40.107.0.63 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.0 UNPARSEABLE_RELAY Informational: message has unparseable relay lines X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mihail Atanassov , Joonyoung Shim , David Airlie , Seung-Woo Kim , "linux-kernel@vger.kernel.org" , Krzysztof Kozlowski , Inki Dae , "linux-samsung-soc@vger.kernel.org" , Kyungmin Park , Kukjin Kim , Laurent Pinchart , Daniel Vetter , nd , "linux-arm-kernel@lists.infradead.org" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org No functional change. v3: - drop driver_private argument (Laurent) Cc: Inki Dae Cc: Laurent Pinchart Signed-off-by: Mihail Atanassov --- drivers/gpu/drm/exynos/exynos_drm_mic.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_mic.c b/drivers/gpu/drm/exynos/exynos_drm_mic.c index 2b5f10c3a285..3bc9f81d0170 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_mic.c +++ b/drivers/gpu/drm/exynos/exynos_drm_mic.c @@ -420,9 +420,7 @@ static int exynos_mic_probe(struct platform_device *pdev) platform_set_drvdata(pdev, mic); - mic->bridge.funcs = &mic_bridge_funcs; - mic->bridge.of_node = dev->of_node; - + drm_bridge_init(&mic->bridge, dev, &mic_bridge_funcs, NULL); drm_bridge_add(&mic->bridge); pm_runtime_enable(dev); From patchwork Tue Dec 24 17:34:52 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mihail Atanassov X-Patchwork-Id: 11309571 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E4DF3109A for ; Tue, 24 Dec 2019 17:35:42 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B523020730 for ; Tue, 24 Dec 2019 17:35:42 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="njtbddWB"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.b="X0JPwCEY"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=armh.onmicrosoft.com header.i=@armh.onmicrosoft.com header.b="X0JPwCEY" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B523020730 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:In-Reply-To:References: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=r7PevTf+LSvl8URhNTloVMCgPA7W/TuiiUNlAg1zdD0=; b=njtbddWBYRWVxp SufWn8afQ7ZulwnEuHXI5j4iTcCBmTvJhEF7SNohMD/1zOb/aIMvJR/DxSa+5sxT+CK3XIFQ7Pwrd KYKHyYh59hbHL4rXxzXqdxSPdxVHxqbDUC0sD49E5FcaclqJIGo2b3EYwap8G1n/6R01mdVTeZYOG U1tTdz96+gUhL4Rpvbnvkg6vtkWpqXK6awoxbMb/3Nz+LCndDsQlYj1/TUgbYN1rShIDJBbKAZP2w Yw1lDC2VDcsA7zmXz7bRmku6WjMuJ15aVUvLNzxAJobvPiEnktQQ4BME80S6pdjiycnY1U3TTMunL LN0iiSwnzG9QvsLQk9ww==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1ijo5r-000349-Ky; Tue, 24 Dec 2019 17:35:39 +0000 Received: from mail-eopbgr20067.outbound.protection.outlook.com ([40.107.2.67] helo=EUR02-VE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1ijo5n-00030s-0K; Tue, 24 Dec 2019 17:35:38 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=aawaic+7F9JxuHcXn/LveVUKjL6TBezQVbgQSBWd5jw=; b=X0JPwCEYU9IiEM99tpyztROfHShsL0+cdRnGcje4fu8BWimKT/ReJHp4LBq8diDGEdiONjvisjEwtgbTVUmagDZMV6eo3mzlZ73Cobz63zl9YNHPcVUFFVr/VTuBUgYBy8bA8zjH/J2ZEdYGe59Nv7UfPSj+gQ5O7HEBAVYzDwg= Received: from VI1PR08CA0195.eurprd08.prod.outlook.com (2603:10a6:800:d2::25) by VI1PR0802MB2623.eurprd08.prod.outlook.com (2603:10a6:800:b9::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.15; Tue, 24 Dec 2019 17:35:31 +0000 Received: from VE1EUR03FT034.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e09::208) by VI1PR08CA0195.outlook.office365.com (2603:10a6:800:d2::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.14 via Frontend Transport; Tue, 24 Dec 2019 17:35:31 +0000 Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; lists.infradead.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;lists.infradead.org; dmarc=bestguesspass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by VE1EUR03FT034.mail.protection.outlook.com (10.152.18.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.14 via Frontend Transport; Tue, 24 Dec 2019 17:35:30 +0000 Received: ("Tessian outbound 28955e0c1ca8:v40"); Tue, 24 Dec 2019 17:35:30 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: f874434845d6cb7d X-CR-MTA-TID: 64aa7808 Received: from 2398bdd0a748.6 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 64153F3C-3911-45CA-AEE2-3284817689BB.1; Tue, 24 Dec 2019 17:35:25 +0000 Received: from EUR04-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 2398bdd0a748.6 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 24 Dec 2019 17:35:25 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UQZe7+y40eK4v2MVKdPjI4R3EnPJftMsYARUjHxBKq+d20PiDGwzzCUiZAW4GZ3UjSh65gYgpR8thPN+LUk7tcS8WFiTR3KcPuSHRSsyOeo71cbG9o3eMo1xfrlwvX3cNDZhRSXCzP6/vI0rKNuYtbwXsAee47Sj4aSbU1HFqu+DEpSHZCZWKFbtW3AiElINlj8t1LUeHDjleWy44DpaMWs37CYGtmo8DJYtGYpIIwGYhj+M0HqBXOPgCdC9FTfQKCl423UJtaW31U7E5XelWlXYQH0Wjs/yT0DCl11GBejzKrJy1FL1fED8LJYd2hCJC9KfsPvK2bW4EBe0xRzd/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=aawaic+7F9JxuHcXn/LveVUKjL6TBezQVbgQSBWd5jw=; b=ir1daXCuMT8RuIPlKBHWZnEXJPm0ZQWvPtEQ6Oj9Aroi14gwTJd8EnWBLrphoFnEyk9YLVWWOhy6kx8KncMJ7V/Sp0dHlGCgBZRLXWSJPj6itAciMkvo7GYhJa9HcyiG0njJY2GKzzYMGUx3vUYqQnixJa5I9KUUoR327Aff81oVfMctlA9k/9NciKnQnbPM3iNQalpExGvvGdD7T4T260JheWD1dd+htabRvs0QcqsbxyOIO9icwNdhh0Xo1yxtvd7yOaN3mt+lnoHvlRQ6pyKAiWLmBE/rbct+7wxwHEJOJK5fexzop4JtlWicDjWvijJ02qJgYcTfqnxIAp6u6w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=aawaic+7F9JxuHcXn/LveVUKjL6TBezQVbgQSBWd5jw=; b=X0JPwCEYU9IiEM99tpyztROfHShsL0+cdRnGcje4fu8BWimKT/ReJHp4LBq8diDGEdiONjvisjEwtgbTVUmagDZMV6eo3mzlZ73Cobz63zl9YNHPcVUFFVr/VTuBUgYBy8bA8zjH/J2ZEdYGe59Nv7UfPSj+gQ5O7HEBAVYzDwg= Received: from VI1PR08MB4078.eurprd08.prod.outlook.com (20.178.127.92) by VI1PR08MB2672.eurprd08.prod.outlook.com (10.170.238.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2559.16; Tue, 24 Dec 2019 17:35:21 +0000 Received: from VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::3d0a:7cde:7f1f:fe7c]) by VI1PR08MB4078.eurprd08.prod.outlook.com ([fe80::3d0a:7cde:7f1f:fe7c%7]) with mapi id 15.20.2559.017; Tue, 24 Dec 2019 17:35:21 +0000 From: Mihail Atanassov To: "dri-devel@lists.freedesktop.org" Subject: [PATCH v3 32/35] drm/mediatek: hdmi: Use drm_bridge_init() Thread-Topic: [PATCH v3 32/35] drm/mediatek: hdmi: Use drm_bridge_init() Thread-Index: AQHVuoBzYhz6qpsZD02IuqSUEsF2WA== Date: Tue, 24 Dec 2019 17:34:52 +0000 Message-ID: <20191224173408.25624-33-mihail.atanassov@arm.com> References: <20191224173408.25624-1-mihail.atanassov@arm.com> In-Reply-To: <20191224173408.25624-1-mihail.atanassov@arm.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [217.140.106.53] x-clientproxiedby: LNXP123CA0023.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:d2::35) To VI1PR08MB4078.eurprd08.prod.outlook.com (2603:10a6:803:e5::28) x-mailer: git-send-email 2.24.0 Authentication-Results-Original: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; x-ms-exchange-messagesentrepresentingtype: 1 x-ms-publictraffictype: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 234e0c74-54d7-463e-ca24-08d78897ac6d X-MS-TrafficTypeDiagnostic: VI1PR08MB2672:|VI1PR08MB2672:|VI1PR0802MB2623: x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true x-ms-oob-tlc-oobclassifiers: OLM:324;OLM:324; x-forefront-prvs: 0261CCEEDF X-Forefront-Antispam-Report-Untrusted: SFV:NSPM; SFS:(10009020)(4636009)(346002)(376002)(39860400002)(396003)(136003)(366004)(199004)(189003)(186003)(26005)(52116002)(6506007)(6486002)(81166006)(6512007)(81156014)(8676002)(8936002)(44832011)(54906003)(478600001)(316002)(6916009)(2906002)(4326008)(2616005)(36756003)(1076003)(66446008)(64756008)(66556008)(66476007)(66946007)(4744005)(5660300002)(6666004)(71200400001)(86362001); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR08MB2672; H:VI1PR08MB4078.eurprd08.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: cV27tvp6q+UWLP46VckiQyvP5aTwvS1N1FO//Sa1bQJtMVlJg0cCX6ZqfFddtvAqYTplJUk37WTAVi8T6TfQz+2ruixxI07udErqpndpSY720uOIIC0bqnqKiaOX4WALtDvRJXJg+FnIhYxhIhqMtdwWIiLM9erAlJm8HnHNC40wen+Bt0XrYQXBoUKbzsDKMkTcdzVdWYumK03P9Ffyo8ODpshCV+LKWUlTltdJIvX4gZ9/jyZ6wXkIQ2TQb5A34OwDlHSHZ9brSumYMU372Et5d71f6nDvo2ryunf+TWarZYw/SzSIZ9s4LLqxIJv4uudzf8O1f3P2t5Nc0uzB40bJ3S9FwZEtDU32PJmvZnjeoZ5sw+JUR8bobNfPmRDpJdYD/aLhyaRgr+tcHsATB4LKY9eUmH0mAuVjo+2mNLJkJHyxj9LYtbNxnZY857bb MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB2672 Original-Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Mihail.Atanassov@arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT034.eop-EUR03.prod.protection.outlook.com X-Forefront-Antispam-Report: CIP:63.35.35.123; IPV:CAL; SCL:-1; CTRY:IE; EFV:NLI; SFV:NSPM; SFS:(10009020)(4636009)(346002)(376002)(396003)(136003)(39860400002)(199004)(189003)(86362001)(6486002)(478600001)(2616005)(70586007)(5660300002)(26826003)(1076003)(70206006)(6512007)(8936002)(336012)(186003)(450100002)(6862004)(26005)(4744005)(36756003)(107886003)(76130400001)(2906002)(8676002)(6506007)(81156014)(6666004)(54906003)(356004)(4326008)(316002)(81166006); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR0802MB2623; H:64aa7808-outbound-1.mta.getcheckrecipient.com; FPR:; SPF:Pass; LANG:en; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; A:1; MX:1; X-MS-Office365-Filtering-Correlation-Id-Prvs: 15250682-1cb5-4aa6-b4b9-08d78897956a NoDisclaimer: True X-Forefront-PRVS: 0261CCEEDF X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: yQmfbNNlfL1IdaEd0ChkxQ7iYIU9cfvO8v/VeGX6L+ap9Ekb6fPTPc/oG7ffjB0UztpJvLhgsDchn4oVXhAe6Nqq1C/6pv5GI9U3uWzklXIdGBukWu26yEA6r0Aa0dX17pLTr7lOQ76OIT6vZS45yl3sZ7prly8A3GCkoHvncwSnM/ge9e1JTZEk9GQm1T/Gy5dO8o17Q/pgA8DWP5oquqIgE+ZWE18YitLOut7baLvofZSbVkf4z4h7Szk/7ejOiWxngZOCq8ApnEEwNJ0KzucstJCe8zLgE5bNLfKDHm8+/a/4dd2dfvvrSqmswy/ROd9EoCaNtRcYfZ8nxpmsnyWtklzXPjiNBtULetfiC0ztfTjn7CyXa0MoPmW+LdgCvvRzVtKoRdTEDVCpflWY7Xf/L4+QOkPGZf3Pfv77WDhOPKvS+h3pbnM/hlWlMuHF X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Dec 2019 17:35:30.8788 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 234e0c74-54d7-463e-ca24-08d78897ac6d X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0802MB2623 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191224_093535_066760_645293E8 X-CRM114-Status: UNSURE ( 9.39 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.0 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [40.107.2.67 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.0 UNPARSEABLE_RELAY Informational: message has unparseable relay lines X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mihail Atanassov , David Airlie , "linux-kernel@vger.kernel.org" , Matthias Brugger , "linux-mediatek@lists.infradead.org" , Laurent Pinchart , Daniel Vetter , CK Hu , nd , "linux-arm-kernel@lists.infradead.org" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org No functional change. v3: - drop driver_private argument (Laurent) Acked-by: CK Hu Reviewed-by: Laurent Pinchart Signed-off-by: Mihail Atanassov --- drivers/gpu/drm/mediatek/mtk_hdmi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/mediatek/mtk_hdmi.c b/drivers/gpu/drm/mediatek/mtk_hdmi.c index 5e4a4dbda443..a5fd2b68e407 100644 --- a/drivers/gpu/drm/mediatek/mtk_hdmi.c +++ b/drivers/gpu/drm/mediatek/mtk_hdmi.c @@ -1710,8 +1710,8 @@ static int mtk_drm_hdmi_probe(struct platform_device *pdev) mtk_hdmi_register_audio_driver(dev); - hdmi->bridge.funcs = &mtk_hdmi_bridge_funcs; - hdmi->bridge.of_node = pdev->dev.of_node; + drm_bridge_init(&hdmi->bridge, &pdev->dev, &mtk_hdmi_bridge_funcs, + NULL); drm_bridge_add(&hdmi->bridge); ret = mtk_hdmi_clk_enable_audio(hdmi);