drm/omap: dss: Handle DPI and SDI port initialization failures
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Wed, 7 Mar 2018 18:34:42 +0000 (20:34 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 3 Sep 2018 13:13:25 +0000 (16:13 +0300)
commit8023651bd3d9372779be731a1165058cd33b454e
treeb3c19b8cec703830fa815c2d7ceb68eb6806e710
parentcc1876ce5791b1c87d0b4dd5d1507e9c80558af2
drm/omap: dss: Handle DPI and SDI port initialization failures

The dpi_init_port() and sdi_init_port() functions can return errors but
their return value is ignored. This prevents both probe failures and
probe deferral from working correctly. Propagate the errors up the call
stack.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/gpu/drm/omapdrm/dss/dss.c