Re: [PATCH v2 6/6] drm/panel: rpi-touchscreen: Set status to "fail" when ->probe() fails

2018-05-07 Thread Boris Brezillon
On Fri, 4 May 2018 14:29:27 -0500 Rob Herring wrote: > On Fri, May 4, 2018 at 9:20 AM, Daniel Vetter wrote: > > On Fri, May 04, 2018 at 02:17:49PM +0200, Boris Brezillon wrote: > >> On Fri, 4 May 2018 11:47:48 +0200 > >> Thierry Reding

Re: [PATCH v2 6/6] drm/panel: rpi-touchscreen: Set status to "fail" when ->probe() fails

2018-05-04 Thread Rob Herring
On Fri, May 4, 2018 at 9:20 AM, Daniel Vetter wrote: > On Fri, May 04, 2018 at 02:17:49PM +0200, Boris Brezillon wrote: >> On Fri, 4 May 2018 11:47:48 +0200 >> Thierry Reding wrote: >> >> > On Fri, May 04, 2018 at 10:06:53AM +0200, Boris Brezillon

Re: [PATCH v2 6/6] drm/panel: rpi-touchscreen: Set status to "fail" when ->probe() fails

2018-05-04 Thread Boris Brezillon
On Fri, 4 May 2018 16:24:04 +0200 Boris Brezillon wrote: > On Fri, 4 May 2018 16:20:17 +0200 > Daniel Vetter wrote: > > > On Fri, May 04, 2018 at 02:17:49PM +0200, Boris Brezillon wrote: > > > On Fri, 4 May 2018 11:47:48 +0200 > > > Thierry

Re: [PATCH v2 6/6] drm/panel: rpi-touchscreen: Set status to "fail" when ->probe() fails

2018-05-04 Thread Boris Brezillon
On Fri, 4 May 2018 16:20:17 +0200 Daniel Vetter wrote: > On Fri, May 04, 2018 at 02:17:49PM +0200, Boris Brezillon wrote: > > On Fri, 4 May 2018 11:47:48 +0200 > > Thierry Reding wrote: > > > > > On Fri, May 04, 2018 at 10:06:53AM +0200, Boris

Re: [PATCH v2 6/6] drm/panel: rpi-touchscreen: Set status to "fail" when ->probe() fails

2018-05-04 Thread Daniel Vetter
On Fri, May 04, 2018 at 02:17:49PM +0200, Boris Brezillon wrote: > On Fri, 4 May 2018 11:47:48 +0200 > Thierry Reding wrote: > > > On Fri, May 04, 2018 at 10:06:53AM +0200, Boris Brezillon wrote: > > > Hi Rob, > > > > > > On Thu, 3 May 2018 12:12:39 -0500 > > > Rob

Re: [PATCH v2 6/6] drm/panel: rpi-touchscreen: Set status to "fail" when ->probe() fails

2018-05-04 Thread Boris Brezillon
On Fri, 4 May 2018 11:47:48 +0200 Thierry Reding wrote: > On Fri, May 04, 2018 at 10:06:53AM +0200, Boris Brezillon wrote: > > Hi Rob, > > > > On Thu, 3 May 2018 12:12:39 -0500 > > Rob Herring wrote: > > > > > On Thu, May 3, 2018 at 11:40 AM,

Re: [PATCH v2 6/6] drm/panel: rpi-touchscreen: Set status to "fail" when ->probe() fails

2018-05-04 Thread Thierry Reding
On Fri, May 04, 2018 at 10:06:53AM +0200, Boris Brezillon wrote: > Hi Rob, > > On Thu, 3 May 2018 12:12:39 -0500 > Rob Herring wrote: > > > On Thu, May 3, 2018 at 11:40 AM, Boris Brezillon > > wrote: > > > The device might be described in the

Re: [PATCH v2 6/6] drm/panel: rpi-touchscreen: Set status to "fail" when ->probe() fails

2018-05-04 Thread Boris Brezillon
Hi Rob, On Thu, 3 May 2018 12:12:39 -0500 Rob Herring wrote: > On Thu, May 3, 2018 at 11:40 AM, Boris Brezillon > wrote: > > The device might be described in the device tree but not connected to > > the I2C bus. Update the status property so

Re: [PATCH v2 6/6] drm/panel: rpi-touchscreen: Set status to "fail" when ->probe() fails

2018-05-03 Thread Rob Herring
On Thu, May 3, 2018 at 11:40 AM, Boris Brezillon wrote: > The device might be described in the device tree but not connected to > the I2C bus. Update the status property so that the DRM panel logic > returns -ENODEV when someone tries to get the panel attached to this

[PATCH v2 6/6] drm/panel: rpi-touchscreen: Set status to "fail" when ->probe() fails

2018-05-03 Thread Boris Brezillon
The device might be described in the device tree but not connected to the I2C bus. Update the status property so that the DRM panel logic returns -ENODEV when someone tries to get the panel attached to this DT node. Signed-off-by: Boris Brezillon ---