Re: LCD blanking?

2009-08-25 Thread Frederik Kriewitz
On Tue, Aug 25, 2009 at 3:55 PM, Gary Thomasg...@mlbassoc.com wrote:
 I have a system with an LCD, running Tomi's DSS2 support.
 One problem I'm having is that after a while, the LCD blanks
 out (I do have fbcon support enabled so I can use it as a
 glass TTY - no keyboard)

 How can I keep this from happening?
 Once it does, is there any way to get it back on (remember,
 no keyboard)?

check man console_codes
--
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  http://vger.kernel.org/majordomo-info.html


OMAPFB: LL pointer dereference because of uninitialized mutex

2009-08-18 Thread Frederik Kriewitz
Hello,

I'm trying to add support for a omap3 board.

But I get a NULL pointer dereference during initialization of the lcd
panel driver because framebufferInfo-mm_lock wasn't initialized.

Code of the lcd driver: http://pastebin.com/m44ccc56d (nothing special)

Stack trace:
__mutex_lock_slowpath()
mutex_lock()
set_fb_fix()
omapfb_do_probe()
devkit8000_panel_probe()  my probe function
platform_drv_probe()
...

It get's initialized in register_framebuffer() but in my case the
probe function gets called before register_framebuffer().

Once I added the missing inits to framebuffer_alloc()
(drivers/video/fbsysfs.c) it works fine:
mutex_init(info-lock);
mutex_init(info-mm_lock);

How I'm intended to fix this?
--
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  http://vger.kernel.org/majordomo-info.html