summaryrefslogtreecommitdiff
path: root/drivers/video/omap2/dss/dsi.c
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2011-05-31 16:39:01 +0300
committerSebastien Jan <s-jan@ti.com>2011-10-10 15:07:00 +0200
commitaad28e12ec60d3942a2165b668f339e67dda8328 (patch)
tree927deb182e68d121e9c7b8d7e33a6339b4b18833 /drivers/video/omap2/dss/dsi.c
parent1399199ec14ab78781a24d3be8dfd9db65c0f547 (diff)
OMAP: DSS2: Taal: Make driver more fault tolerant
If ULPS exit fails, and the following reset fails also, Taal driver was left in state where it thinks DSI is enabled while it really isn't, leading to crash. This patch checks the return value of taal_panel_reset, and if that fails, ulps_enabled is left true, causing the driver to retry ulps exit later. Also the return value of taal_wake_up is checked at taal_disable, and if wake up fails, we'll skip the power_off. This could leave the panel into a not-quite-valid state, but there's nothing we can do about it in that situation. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/omap2/dss/dsi.c')
0 files changed, 0 insertions, 0 deletions