OMAPDSS: DISPC: remove dssdev depependency from error handler
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 15 Jun 2012 12:34:24 +0000 (15:34 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 29 Oct 2012 10:44:44 +0000 (12:44 +0200)
commitb276dd091673589450d56812ffcfddca961c1a41
treec3bd9bcf77f3fe4313111b38ec8be0760ca6ba91
parent4c6c65b013a20054585dfca5cfbf3a2f6393ab50
OMAPDSS: DISPC: remove dssdev depependency from error handler

The dispc error handler tries to "fix" issues by disabling and enabling
panel. This is problematic, as we're trying to remove the dependency
from omapdss to the omap_dss_devices. It's also racy, and doesn't really
fix anything.

This patch removes the use of omap_dss_device from the error handler,
and just disables and enables the associated overlay manager. This
should produce similar results as the previous solution, without using
dssdev.

However, the error handling is still horrible. But the problem boils
down to one question, to which I don't have a clear answer: what to do
when a HW error happens?

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap2/dss/dispc.c