From: Pete P. <pp...@us...> - 2002-04-16 19:32:23
|
Update of /cvsroot/linux-mips/linux/drivers/video In directory usw-pr-cvs1:/tmp/cvs-serv7685/drivers/video Modified Files: au1100fb.c Log Message: Screen blank/power-on bug fix. Index: au1100fb.c =================================================================== RCS file: /cvsroot/linux-mips/linux/drivers/video/au1100fb.c,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- au1100fb.c 15 Apr 2002 23:30:13 -0000 1.3 +++ au1100fb.c 16 Apr 2002 17:20:27 -0000 1.4 @@ -302,18 +302,18 @@ switch (blank_mode) { case VESA_NO_BLANKING: - /* turn off panel */ - writew(readw(PB1500_G_CONTROL) & ~p_lcd->mode_backlight, - PB1500_G_CONTROL); + /* turn on panel */ p_lcd_reg->lcd_control |= LCD_CONTROL_GO; + writew(readw(PB1500_G_CONTROL) | p_lcd->mode_backlight, + PB1500_G_CONTROL); au_sync(); break; case VESA_VSYNC_SUSPEND: case VESA_HSYNC_SUSPEND: case VESA_POWERDOWN: + /* turn off panel */ p_lcd_reg->lcd_control &= ~LCD_CONTROL_GO; - /* turn on panel */ writew(readw(PB1500_G_CONTROL) & ~p_lcd->mode_backlight, PB1500_G_CONTROL); au_sync(); |