]> git.baikalelectronics.ru Git - kernel.git/commit
drm/omap: print an error if display enable fails
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 5 Jan 2016 09:43:16 +0000 (11:43 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Thu, 3 Mar 2016 15:36:41 +0000 (17:36 +0200)
commit9bef4637d2a53a571efcdd8d3e1fe1ee1518fa38
tree1be2ce7ec0e979a66f79a2a43617daae7ac82fde
parent7a64d050fcf3b40b83507e9a32405eda7c3e27c9
drm/omap: print an error if display enable fails

If the panel's enable fails, omap_encoder silently ignores the failure.
omapdrm should really handle the failure, but unfortunately the whole
encoder enable codepath is expected to always succeed.

So for now, catch the enable failure and print an error.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
drivers/gpu/drm/omapdrm/omap_encoder.c