Message ID | 20180423072301.11962-5-peda@axentia.se (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 3D9F860225 for <patchwork-dri-devel@patchwork.kernel.org>; Tue, 24 Apr 2018 07:38:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2DFEC28D1D for <patchwork-dri-devel@patchwork.kernel.org>; Tue, 24 Apr 2018 07:38:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 21F5B28D26; Tue, 24 Apr 2018 07:38:16 +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=-5.1 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED, MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id B33B228D1D for <patchwork-dri-devel@patchwork.kernel.org>; Tue, 24 Apr 2018 07:38:14 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 35D126E37D; Tue, 24 Apr 2018 07:36:37 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01on0092.outbound.protection.outlook.com [104.47.2.92]) by gabe.freedesktop.org (Postfix) with ESMTPS id 60D6F6E169 for <dri-devel@lists.freedesktop.org>; Mon, 23 Apr 2018 07:23:37 +0000 (UTC) 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; bh=dA+R87GYP08W6Wdn7ur/oQE/1AYFin2lErPd3VSljc4=; b=lMLDPBTlFs5528pCk4eNlMCItfVpES/EPUHBPfCz/usnVUHmgG5ThubaT3cj9wFlnx6FSoFYXfRtQK1noTUOCBj6DcjVRCwy2PwBSdZ4RICKwK2wbpdS17F+Xq04rFtXuipaZv/blUjvRUmL7IopH8gAOyEba9+pla/WWIMoN78= Authentication-Results: vger.kernel.org; dkim=none (message not signed) header.d=none; vger.kernel.org; dmarc=none action=none header.from=axentia.se; Received: from orc.pedanet (85.226.244.23) by DB6PR0202MB2774.eurprd02.prod.outlook.com (2603:10a6:4:a8::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.696.13; Mon, 23 Apr 2018 07:23:34 +0000 From: Peter Rosin <peda@axentia.se> To: linux-kernel@vger.kernel.org Subject: [PATCH v4 4/8] drm/i2c: tda998x: find the drm_device via the drm_connector Date: Mon, 23 Apr 2018 09:22:57 +0200 Message-Id: <20180423072301.11962-5-peda@axentia.se> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180423072301.11962-1-peda@axentia.se> References: <20180423072301.11962-1-peda@axentia.se> MIME-Version: 1.0 X-Originating-IP: [85.226.244.23] X-ClientProxiedBy: HE1PR05CA0128.eurprd05.prod.outlook.com (2603:10a6:7:28::15) To DB6PR0202MB2774.eurprd02.prod.outlook.com (2603:10a6:4:a8::20) 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:DB6PR0202MB2774; X-Microsoft-Exchange-Diagnostics: 1; DB6PR0202MB2774; 3:vHNV8LbNsPLLTyMUtR21svSNRylqKquD+ma+LykF5LJS3r1weS7MQMCZoJgdfZ+izzBLF+7K3ktfPjWDIC191fDnf+nBjLdtAjO7K2V4xz4ra6wxJUBsw2Tpj2gk7mHJdNuK+JJpSwYkalqTQBaTWPmj513hxdX5YixN9/CnxFo1+DUs5Xk6E4MjbAI+0qwlkvJJD1OG6nfJ2qzwioNWQbAiC5/Uo4o0sz9LJAwba6FzogUgTr4ZhgXUyZ9EcIU7; 25:WGvjFFSLpPyOU6NMyyx14mSM+hsWdDaipz9YLuq6Eh9RqArUm4Bf+pisOm0l6ROW0p2xppg4X46pCmevAq4h5+AngT68BViQHE6nzV9ZubAKM7ndMp7Ii60D39huQzMYabJDXwXxl8rbr7OiX/DEd8bfl+XEUAXIaFmbREBg4JHojoonJyFq3m9EY4j4p83ubnrhelxt7XLt3KQBnF1TvQnHdAE3Wfy3XGDsIEkRc/pDa/3MoVR4auD5pMCxeI/uBh5oXTNLQ+LRtCqblgWsITLv3fRRztFb65/pqKlqckPvDb2ZmspJDG69G04p0q+n9hNyHzbgK5PB5e8zgKDMlg==; 31:moy/TepVLWYBQe2VOLV63kljUj0CCgivDjKxQILeD4Ot+zORFbO8mTzUH3/V8TuYzmKtMlVz7/64qSxWtu8bMwQXBCXmLGaFWmMaC4GC02/T4PJ7ciCfhAY5MOnnE4vOHAmWjezDZhSOpSgh/1tOtF82BD1V2vUg5ttBT+JVzidf1E5LvtZo81Vt/sXQ4Fc/S3dIP69UJb+XBEvsdawoHYl9gnCdojb//WMh7qAVrJs= X-MS-TrafficTypeDiagnostic: DB6PR0202MB2774: X-Microsoft-Antispam-PRVS: <DB6PR0202MB2774C413E240E6D9134ACCF0BC890@DB6PR0202MB2774.eurprd02.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040522)(2401047)(8121501046)(5005006)(3231232)(944501410)(52105095)(93006095)(93001095)(3002001)(10201501046)(6041310)(20161123562045)(20161123560045)(20161123564045)(20161123558120)(2016111802025)(6072148)(6043046)(201708071742011); SRVR:DB6PR0202MB2774; BCL:0; PCL:0; RULEID:; SRVR:DB6PR0202MB2774; X-Microsoft-Exchange-Diagnostics: 1; DB6PR0202MB2774; 4:fKzvm7o4iCsje8TkiP33ExUmHNgiRH95LnGOxu7+6DcLCow+ColV58erGO/lmtjv8IhgujXb5WzMxU8P96Snye/ZNVW6YCtJ7WTm7JlatpMdoEa5+HwORppUcXtu+bHpr7hVFiPiWJt81OrU3T3Pwt2dYxPwJ0krKJNnRS6+jOpfJtwdqioDBT66yK4Yo11ebBSfYMbxDIbE73LMSFtLOwWEsZrjSdaXT04Mi6tCv2qz7hWGvR8RXY4JcxqX0KmtD7aorkttFRKgfBX0xosM6A== X-Forefront-PRVS: 06515DA04B X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(366004)(346002)(376002)(396003)(39380400002)(6506007)(386003)(59450400001)(2351001)(25786009)(2361001)(1076002)(26005)(476003)(3846002)(6116002)(956004)(2616005)(11346002)(76176011)(478600001)(52116002)(66066001)(86362001)(2906002)(446003)(16526019)(81166006)(48376002)(5660300001)(305945005)(8936002)(6486002)(6916009)(74482002)(36756003)(7736002)(53936002)(6666003)(316002)(54906003)(7416002)(4326008)(16586007)(50466002)(186003)(50226002)(47776003)(8676002)(6512007)(42262002); DIR:OUT; SFP:1102; SCL:1; SRVR:DB6PR0202MB2774; H:orc.pedanet; FPR:; SPF:None; LANG:en; MLV:sfv; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DB6PR0202MB2774; 23:n4GFcMaMY5CAi7zOxITvYc54zO8ygBDnuQy2wGZ?= =?us-ascii?Q?URhCTn+83uVs0mzCaz17VGfZwqnh2VezFjl8j2Bwqv1eVy6CvSVIlzx1lz3s?= =?us-ascii?Q?oxKpDuWPoGLtkWBhwBcOH/mCkuY9v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8Duro8WnD5nZ6YbCUeaFdY/YaZkKfwduo3y+moCrxj1VwNIuR1mfCMqR8MBpWhfryrHfoSH5S5Y9ywlfkHd0rKEEeouLsKM7f1cdh9xdHWo= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DB6PR0202MB2774; 7:ZtWSkB4Z9s6R25gxcPGMVB8yUq3L6FOjUf2t6ka/OpXcrK7y5Hc0vlrtp+cwYrUw5twNJYWPE5I/93AOzPFcB2kyRNZBJCUJv19ynWlqEhBvSfSEYf7cJ0jydgwxjBC706/cd4yDTWJEe7dpOhfdG3jXGC2hORjODZ9Lr+sk7TKFabbw4mB3Sv6KXIULgppQEw2A1ftgjx9a9/AwPv7z0ZEfLTFN361iM3jSj99NCJpOz4V1kcvwTWZCTRz5GlNo X-MS-Office365-Filtering-Correlation-Id: 3fa39455-bacf-40ad-4e6a-08d5a8eb2045 X-OriginatorOrg: axentia.se X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Apr 2018 07:23:34.2955 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 3fa39455-bacf-40ad-4e6a-08d5a8eb2045 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4ee68585-03e1-4785-942a-df9c1871a234 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0202MB2774 X-Mailman-Approved-At: Tue, 24 Apr 2018 07:34:39 +0000 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 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> Cc: Mark Rutland <mark.rutland@arm.com>, Boris Brezillon <boris.brezillon@free-electrons.com>, Alexandre Belloni <alexandre.belloni@bootlin.com>, devicetree@vger.kernel.org, David Airlie <airlied@linux.ie>, Tomi Valkeinen <tomi.valkeinen@ti.com>, dri-devel@lists.freedesktop.org, Nicolas Ferre <nicolas.ferre@microchip.com>, Jyri Sarha <jsarha@ti.com>, Russell King <linux@armlinux.org.uk>, Rob Herring <robh+dt@kernel.org>, Jacopo Mondi <jacopo+renesas@jmondi.org>, Laurent Pinchart <laurent.pinchart@ideasonboard.com>, Peter Rosin <peda@axentia.se>, linux-arm-kernel@lists.infradead.org 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/i2c/tda998x_drv.c b/drivers/gpu/drm/i2c/tda998x_drv.c index cd3f0873bbdd..8f6e013f2b87 100644 --- a/drivers/gpu/drm/i2c/tda998x_drv.c +++ b/drivers/gpu/drm/i2c/tda998x_drv.c @@ -630,7 +630,7 @@ static void tda998x_detect_work(struct work_struct *work) { struct tda998x_priv *priv = container_of(work, struct tda998x_priv, detect_work); - struct drm_device *dev = priv->encoder.dev; + struct drm_device *dev = priv->connector.dev; if (dev) drm_kms_helper_hotplug_event(dev);