From patchwork Wed May 16 10:15:04 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Rosin X-Patchwork-Id: 10403511 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 17C58601D2 for ; Wed, 16 May 2018 10:20:27 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 067712886B for ; Wed, 16 May 2018 10:20:27 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EF7782886D; Wed, 16 May 2018 10:20:26 +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=-2.9 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED, DKIM_VALID, MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 814392886E for ; Wed, 16 May 2018 10:20:26 +0000 (UTC) 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:References:In-Reply-To: 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=bu3uQz2rFaTg6P4EN0zo+82+zI9WrVcF2oLtO1A+HMY=; b=j0J5b8nK01jRdJ GNPUOu8r6J7gNvVSj1RPOvVSV7EgKkB/qGGODyGdlLwY04MUMA3FLoEESWUHeQSzU7mTStMpecoGy YBnWhDu9OtvlAdIZqceXBnZCquoEUssJiN11oxLJeRHmr43Fd6WhKHyT106nLQkMW7wGxS6WsI4Lf rOXiNkNFGqgGk1fDUmCtWpWUUvwWcc4O/GeaocQLoJ9LbyfiubQoqqI7LnV9aI0kXVsXYq3kYzbCb VPTkvCajp0D0otcopIf3mBjHgmSwapifWPPNqay2gMGYbqW3n+vSmBl0dKPBLGWFkl9sbAmF3Kpah qQ+8v2f7ubKVTYCHBtXg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fItXX-0005RF-06; Wed, 16 May 2018 10:20:11 +0000 Received: from mail-he1eur01on0098.outbound.protection.outlook.com ([104.47.0.98] helo=EUR01-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fItUF-0003Pu-11; Wed, 16 May 2018 10:16:50 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=axentia.se; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ojgdfqY34UKqaMu//h0z7KRHV5dGR7FuAQFBr63kbAY=; b=rTNDUbwcUJllkts8uhvQ3WNG0zPxU+bnxBZ+oC1jAC19DXPOgnwVN5r6cdg0LWhy59JRnHpqlLLSsmgmqDGA/bP03Nmr8AKblwLnWJv59sBs+vGLRvlFHdyaC2VloSo2fBCIR6PqsPUd18cOjz4eUnwzaxWh0flJ2zEApKgDkoU= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=peda@axentia.se; Received: from orc.pedanet (85.226.244.23) by AM4PR0202MB2772.eurprd02.prod.outlook.com (2603:10a6:200:8c::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.776.11; Wed, 16 May 2018 10:16:30 +0000 From: Peter Rosin To: linux-kernel@vger.kernel.org Subject: [PATCH v3 20/26] drm/mediatek: hdmi: provide an owner .odev device for the bridge Date: Wed, 16 May 2018 12:15:04 +0200 Message-Id: <20180516101510.13215-21-peda@axentia.se> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180516101510.13215-1-peda@axentia.se> References: <20180516101510.13215-1-peda@axentia.se> MIME-Version: 1.0 X-Originating-IP: [85.226.244.23] X-ClientProxiedBy: HE1PR0102CA0013.eurprd01.prod.exchangelabs.com (2603:10a6:7:14::26) To AM4PR0202MB2772.eurprd02.prod.outlook.com (2603:10a6:200:8c::22) X-MS-PublicTrafficType: Email X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(7021125)(5600026)(4534165)(7022125)(4603075)(4627221)(201702281549075)(7048125)(7024125)(7027125)(7028125)(7023125)(2017052603328)(7153060)(7193020); SRVR:AM4PR0202MB2772; X-Microsoft-Exchange-Diagnostics: 1; AM4PR0202MB2772; 3:Jr0IadajyNIky0tGnmjQ/6jXxDF8IZAI4qH/z4FV5LialYkl3AB4yr3kPxt1wnLHoxnGpLqYpAW60qMG317rHyoo8oxU4nUTMoeMRAgjYjQ/oRYQ3Ev9CM83I9TryvYzW/mNIN7bEl6a+8cuoFFhooW/vLmjgjFb+8zh0koSEOJMO3+ZoHcb+8ohBhVwnG0ojFvXnKMp7sZ8AII93+dHv5/zmUWRKoWC8XVeRV7nLGAJkC9rmjf5mIYAAwZ8FNyx; 25:Sgs9TLj6nxBbBRfhqLPCo3GlDLICj7fK78WUI85lp2YBp1q6/HEmRGuulQLfogPiHDhXrRWF5dG/KH28Fq037+5+2FhemnOw2zYK0b9MTG8OlnSRcIni7F2I4w//JWSPwEi12B0xHtLrfd4O07TABIuyB3L8DMkFUOA6KEb5AV9VEO0JdCi8TGo/9BS2h5UDHZ10cHuY0HSHnJq7nknWXctOEeV6h2yQA8PSxVxNbJ8zvZRHuzLXD1ei9I9qghJSeZOJCwXbj9V6Z9WyFJej9Sc7/KOuFyVPh0Qms5ju4RplCpYUzIGQkidblcdFwOPAcLlTASiIySxv7STlHp3Azw==; 31:7JnNVGqHBBStWPhpstUesTf58t5v213jfFUbou3KM7+3J2Ezmpj3i5YlR+w8gVezeGZu/fsMaPUNm8D/oNzGQ0YuUuuTlDG9UzLueCB9vXLLFdPJ6uf0Vg1ktuHyFgqBMldES7YZsckdNciBp3nEnBFqp+eEUo+ydI65enWMRc4vg6JolVW4mLypn96UcmktgVxXaoEskxnUQgO4Yp75Hx1WCkQdkweM+qUaiUGP9KE= X-MS-TrafficTypeDiagnostic: AM4PR0202MB2772: X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040522)(2401047)(5005006)(8121501046)(3231254)(944501410)(52105095)(93006095)(93001095)(3002001)(10201501046)(149027)(150027)(6041310)(2016111802025)(20161123558120)(20161123562045)(20161123560045)(20161123564045)(6072148)(6043046)(201708071742011); SRVR:AM4PR0202MB2772; BCL:0; PCL:0; RULEID:; SRVR:AM4PR0202MB2772; X-Microsoft-Exchange-Diagnostics: 1; AM4PR0202MB2772; 4:ATmOvUZz9a7A7yh4L5PIrQvYmWoM9FhIf88Ijw91ZeBCqF4UPiTjf0lyQUXZH8MtW9ynoDDMuo/AMc7n7PDC7dE4d15kPvyBGb4Vbx2y+N8vDu2Mb1ID7+sniaWqdzaVvLJxubPJAioXeuR+GuRVHSBJ+tJzDn3xBCStirqYUhWQ4EcrEO5Wu9Ac46dWOWCE8/TAYZdlDYS5FYxvcnabdK2749vTetsazwhVhOueMNmjsQyQF7kn/kDghgbW1j3tQkZ8+XrWIeNWtkvHWNP0EQ== X-Forefront-PRVS: 0674DC6DD3 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(39380400002)(396003)(346002)(376002)(39840400004)(366004)(189003)(199004)(86362001)(7416002)(25786009)(48376002)(50466002)(68736007)(36756003)(2906002)(105586002)(97736004)(6666003)(6916009)(74482002)(2351001)(3846002)(6116002)(575784001)(1076002)(478600001)(106356001)(316002)(16586007)(2361001)(7736002)(50226002)(53936002)(6512007)(305945005)(51416003)(8936002)(52116002)(8676002)(16526019)(76176011)(446003)(66066001)(5660300001)(39060400002)(54906003)(47776003)(81156014)(476003)(2616005)(956004)(81166006)(186003)(386003)(6506007)(26005)(59450400001)(4326008)(11346002)(486006)(6486002)(142923001)(42262002); DIR:OUT; SFP:1102; SCL:1; SRVR:AM4PR0202MB2772; H:orc.pedanet; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; Received-SPF: None (protection.outlook.com: axentia.se does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; AM4PR0202MB2772; 23:B1jMLzsmam1Gx8ooHJr8FAW3OSLVdbp5jDVcxNv?= =?us-ascii?Q?Et87ImLbTV0CUaCMDEdPNgGJ/OINUetJp0a54FT3y9TwP10DsRVcUvCZ4fB/?= =?us-ascii?Q?KZ6dfDpUT8ilgSUcZxJ9Ua0DVExC0M3cm78Age//KMy40A+GJD7xTNNTtEk9?= =?us-ascii?Q?Fgs1nwvF76gah4pRGN7mLxZMyMFW7jAJ/mYcwcXXWmRLa3kTqztRj4C+OI6u?= =?us-ascii?Q?BvrpZknh1zeNxgnHlaFFFBo+3YEjSwI7H6jdu1epSolXEeoZJx1YNZX/WaXM?= =?us-ascii?Q?PRoBh1tbr1eGcxpuW0PNoF1F6dSHpNGZlsYq34ybenti+4343oTfqJHx3Qk/?= =?us-ascii?Q?ce6qf9AK5PVaELiUAwb2qqBqRUHPBUmMsNQpua+uKGYw5E3bM9o26gG4fZ9m?= =?us-ascii?Q?4ZEL4BJF+Bo7k6q587feHeACdiEWnszYsGpaUwqArbDcJU/g5HAXESECy+X2?= =?us-ascii?Q?fxGCUX9kdehyVG99OU7PvcooEm7416pK7aU7T6IC6KjY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pamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; AM4PR0202MB2772; 7:olX7+NJXeIZsOQ6L7h8D1b4ZDnZgb7vqA3Id262fKw/8BfBYvcyep49Ex41xHtrc101GwDh1B5mAeW52ETKnDM9oAOMKcV72GA0fXlzezQamsaUq8BDL9KN1jI0ZGIvzuWoV3Db680CIswUJSq05XG85CvDU3/lrjWmDNHz8yo4IoUkGHnzeaHdS5qpb4I3IbXDuUBUJO9l86NkvTlDMzMph5p3MwSB+u3FScERplxJj2plRKcHyXGwnOglmS7S4 X-MS-Office365-Filtering-Correlation-Id: db17df66-7ff3-4c34-3658-08d5bb161867 X-OriginatorOrg: axentia.se X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 May 2018 10:16:30.8609 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: db17df66-7ff3-4c34-3658-08d5bb161867 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4ee68585-03e1-4785-942a-df9c1871a234 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR0202MB2772 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180516_031647_177340_C2CFDB4E X-CRM114-Status: GOOD ( 11.13 ) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Daniel Vetter , David Airlie , dri-devel@lists.freedesktop.org, Matthias Brugger , linux-mediatek@lists.infradead.org, Jyri Sarha , Philipp Zabel , CK Hu , Peter Rosin , linux-arm-kernel@lists.infradead.org Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The .of_node member is going away. Signed-off-by: Peter Rosin Acked-by: Philipp Zabel --- drivers/gpu/drm/mediatek/mtk_hdmi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/mediatek/mtk_hdmi.c b/drivers/gpu/drm/mediatek/mtk_hdmi.c index 59a11026dceb..d8c7d93d0a87 100644 --- a/drivers/gpu/drm/mediatek/mtk_hdmi.c +++ b/drivers/gpu/drm/mediatek/mtk_hdmi.c @@ -1694,8 +1694,8 @@ static int mtk_drm_hdmi_probe(struct platform_device *pdev) mtk_hdmi_register_audio_driver(dev); + hdmi->bridge.odev = &pdev->dev; hdmi->bridge.funcs = &mtk_hdmi_bridge_funcs; - hdmi->bridge.of_node = pdev->dev.of_node; drm_bridge_add(&hdmi->bridge); ret = mtk_hdmi_clk_enable_audio(hdmi);