OMAP: DSS2: don't power off a panel twice
authorStanley.Miao <stanley.miao@windriver.com>
Fri, 3 Sep 2010 03:03:48 +0000 (05:03 +0200)
committerTomi Valkeinen <tomi.valkeinen@nokia.com>
Fri, 22 Oct 2010 20:21:14 +0000 (23:21 +0300)
If we blank the panel by
echo 1 > /sys/devices/platform/omapfb/graphics/fb0/blank

Then, we reboot the sytem, the kernel will crash at
drivers/video/omap2/dss/core.c:323

This is because the panel is closed twice. Now check the state of a dssdev
to forbid a panel is power on or power off twice.

Signed-off-by: Stanley.Miao <stanley.miao@windriver.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@nokia.com>

No differences found