summaryrefslogtreecommitdiff
path: root/drivers/video/68328fb.c
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2011-05-31 16:39:01 +0300
committerTomi Valkeinen <tomi.valkeinen@ti.com>2011-07-01 12:01:15 +0300
commite89456773c578bd988df70fcb7d07504cf63d1a3 (patch)
treef98429dbacada16c6f53364f23506fc93545ad77 /drivers/video/68328fb.c
parent8cff88c5da2197aa601409d4a7ce8f83f8de8190 (diff)
downloadlinux-next-e89456773c578bd988df70fcb7d07504cf63d1a3.tar.gz
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/68328fb.c')
0 files changed, 0 insertions, 0 deletions