From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754442AbeDTJlG (ORCPT ); Fri, 20 Apr 2018 05:41:06 -0400 Received: from perceval.ideasonboard.com ([213.167.242.64]:39190 "EHLO perceval.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754394AbeDTJlF (ORCPT ); Fri, 20 Apr 2018 05:41:05 -0400 From: Laurent Pinchart To: dri-devel@lists.freedesktop.org Cc: Peter Rosin , linux-kernel@vger.kernel.org, Mark Rutland , Boris Brezillon , Alexandre Belloni , Jacopo Mondi , devicetree@vger.kernel.org, David Airlie , Nicolas Ferre , Russell King , Rob Herring , Daniel Vetter , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v3 5/7] drm/i2c: tda998x: find the drm_device via the drm_connector Date: Fri, 20 Apr 2018 12:41:14 +0300 Message-ID: <1995876.dqZyKbpDZd@avalon> Organization: Ideas on Board Oy In-Reply-To: <20180419162751.25223-6-peda@axentia.se> References: <20180419162751.25223-1-peda@axentia.se> <20180419162751.25223-6-peda@axentia.se> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Peter, Thank you for the patch. On Thursday, 19 April 2018 19:27:49 EEST Peter Rosin wrote: > This prepares for being a drm_bridge which will not register the > encoder. That makes the connector the better choice. > > Signed-off-by: Peter Rosin Reviewed-by: Laurent Pinchart > --- > drivers/gpu/drm/i2c/tda998x_drv.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > 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); -- Regards, Laurent Pinchart