Re: [PATCH] OMAP: DSS2: don't power off a panel twice

2010-08-17 Thread Tomi Valkeinen
On Tue, 2010-08-10 at 14:16 +0200, ext Stanley.Miao wrote: 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 add a variable

[PATCH] OMAP: DSS2: don't power off a panel twice

2010-08-10 Thread Stanley.Miao
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 add a variable panel_enabled to forbid a panel is power on or power off twice.

Re: [PATCH] OMAP: DSS2: don't power off a panel twice

2010-08-10 Thread Laine Walker-Avina
On Tue, Aug 10, 2010 at 5:16 AM, Stanley.Miao stanley.m...@windriver.com wrote: 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.

Re: [PATCH] OMAP: DSS2: don't power off a panel twice

2010-08-10 Thread stanley.miao
Laine Walker-Avina wrote: On Tue, Aug 10, 2010 at 5:16 AM, Stanley.Miao stanley.m...@windriver.com wrote: snip -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [PATCH] OMAP: DSS2: don't power off a panel twice

2010-08-10 Thread Bryan Wu
On 08/11/2010 11:09 AM, stanley.miao wrote: Laine Walker-Avina wrote: On Tue, Aug 10, 2010 at 5:16 AM, Stanley.Miao stanley.m...@windriver.com wrote: snip -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More