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>
Wed, 24 Oct 2012 09:10:26 +0000 (12:10 +0300)
commit76fcaae1e390aac0459aec07ad23044d414a39eb
treeee050f701d8f060a83775500f0ecf0310c926b83
parent85a82b271840cadf402c9a164db37fd8601aa6fa
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