From: Stanley.Miao Date: Fri, 3 Sep 2010 03:03:48 +0000 (+0200) Subject: OMAP: DSS2: don't power off a panel twice X-Git-Tag: v2.6.37-rc1~111^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=18016e35d448d35739f8640b51476709c07e95db;p=pandora-kernel.git OMAP: DSS2: don't power off a panel twice 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 Signed-off-by: Tomi Valkeinen --- Reading git-diff-tree failed