| To: | linux-mips@linux-mips.org |
|---|---|
| Subject: | [PATCH] au1100fb fb_blank |
| From: | Rodolfo Giometti <giometti@linux.it> |
| Date: | Wed, 31 May 2006 14:47:49 +0200 |
| Organization: | GNU/Linux Device Drivers, Embedded Systems and Courses |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | Mutt/1.5.11+cvs20060403 |
Hello,
since some boards need to manage GPIOs to turn on and off the LCD and
since on shutdwon the driver does:
#if !defined(CONFIG_FRAMEBUFFER_CONSOLE) && defined(CONFIG_LOGO)
au1100fb_fb_blank(VESA_POWERDOWN, &fbdev->info);
#endif
fbdev->regs->lcd_control &= ~LCD_CONTROL_GO;
I suggest the attached patch to do the same during boot.
Note that this prevents boards support developers to add
specific code before the command:
fbdev->regs->lcd_control |= LCD_CONTROL_GO;
but putting all these stuff into proper function au1100fb_fb_blank().
Please, let me know what do you think about it.
Ciao,
Rodolfo
--
GNU/Linux Solutions e-mail: giometti@enneenne.com
Linux Device Driver giometti@gnudd.com
Embedded Systems giometti@linux.it
UNIX programming phone: +39 349 2432127
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Problem with TLB mcheck!, Maciej W. Rozycki |
|---|---|
| Next by Date: | Re: [PATCH] au1000_eth.c Power Management, driver registration and module support, Sergei Shtylyov |
| Previous by Thread: | [RFC] remove unused define from addrspace.h, Yoichi Yuasa |
| Next by Thread: | [PATCH] fix some compiler warnings (field width, unused variable), Atsushi Nemoto |
| Indexes: | [Date] [Thread] [Top] [All Lists] |