]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf863e1066b0152c70c01e1e9f537fe88701e7bbf
treefac871638cc6235a1fc478341e21084adf3cf00a
parent7d899fa0995cf96bf228a1a5cb64682a8d7ccc95
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