OSDN Git Service

drm/omap: tpd12s015: fix error handling
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 22 Nov 2016 08:11:07 +0000 (10:11 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 8 Dec 2016 11:42:58 +0000 (13:42 +0200)
commit5c2a392d574231793a156bff4d4391b3c1ba11c5
treefac871638cc6235a1fc478341e21084adf3cf00a
parente43f2c3395fd36ec9f8d069af07bcd3eae5fde17
drm/omap: tpd12s015: fix error handling

tpd12s015 driver is missing error value handling for gpio
initialization, causing 0 to be returned as an error if gpiod_get_*
fails. This may cause deferred probing to fail.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/gpu/drm/omapdrm/displays/encoder-tpd12s015.c