]> git.baikalelectronics.ru Git - kernel.git/commit
drm/tilcdc: Defer probe if there are no connectors
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>
Fri, 30 Mar 2018 13:15:53 +0000 (15:15 +0200)
committerJyri Sarha <jsarha@ti.com>
Thu, 5 Jul 2018 11:06:22 +0000 (14:06 +0300)
commit95743f2ca23ad59790f8d7b1a4c4360432b82a2b
tree9f95f583bfee07b83429732bfbcfee3a7b48e929
parentbd594001da828129ed149628b7cd368061398a51
drm/tilcdc: Defer probe if there are no connectors

During probe there may not be any connectors yet if e.g. the panel
failed or hasn't been probed yet. I hitting this in practice the panels
probing was being delayed due to using a gpio backlight.

Fix this by returning -EPROBE_DEFER so the probing will be retried.

Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
Signed-off-by: Jyri Sarha <jsarha@ti.com>
drivers/gpu/drm/tilcdc/tilcdc_drv.c