diff options
Diffstat (limited to 'drivers/video/au1100fb.c')
-rw-r--r-- | drivers/video/au1100fb.c | 22 |
1 files changed, 4 insertions, 18 deletions
diff --git a/drivers/video/au1100fb.c b/drivers/video/au1100fb.c index ddabaa867b0d..700cac067b46 100644 --- a/drivers/video/au1100fb.c +++ b/drivers/video/au1100fb.c | |||
@@ -111,30 +111,16 @@ static int au1100fb_fb_blank(int blank_mode, struct fb_info *fbi) | |||
111 | switch (blank_mode) { | 111 | switch (blank_mode) { |
112 | 112 | ||
113 | case VESA_NO_BLANKING: | 113 | case VESA_NO_BLANKING: |
114 | /* Turn on panel */ | 114 | /* Turn on panel */ |
115 | fbdev->regs->lcd_control |= LCD_CONTROL_GO; | 115 | fbdev->regs->lcd_control |= LCD_CONTROL_GO; |
116 | #ifdef CONFIG_MIPS_PB1100 | ||
117 | if (fbdev->panel_idx == 1) { | ||
118 | au_writew(au_readw(PB1100_G_CONTROL) | ||
119 | | (PB1100_G_CONTROL_BL | PB1100_G_CONTROL_VDD), | ||
120 | PB1100_G_CONTROL); | ||
121 | } | ||
122 | #endif | ||
123 | au_sync(); | 116 | au_sync(); |
124 | break; | 117 | break; |
125 | 118 | ||
126 | case VESA_VSYNC_SUSPEND: | 119 | case VESA_VSYNC_SUSPEND: |
127 | case VESA_HSYNC_SUSPEND: | 120 | case VESA_HSYNC_SUSPEND: |
128 | case VESA_POWERDOWN: | 121 | case VESA_POWERDOWN: |
129 | /* Turn off panel */ | 122 | /* Turn off panel */ |
130 | fbdev->regs->lcd_control &= ~LCD_CONTROL_GO; | 123 | fbdev->regs->lcd_control &= ~LCD_CONTROL_GO; |
131 | #ifdef CONFIG_MIPS_PB1100 | ||
132 | if (fbdev->panel_idx == 1) { | ||
133 | au_writew(au_readw(PB1100_G_CONTROL) | ||
134 | & ~(PB1100_G_CONTROL_BL | PB1100_G_CONTROL_VDD), | ||
135 | PB1100_G_CONTROL); | ||
136 | } | ||
137 | #endif | ||
138 | au_sync(); | 124 | au_sync(); |
139 | break; | 125 | break; |
140 | default: | 126 | default: |