diff options
author | Yegor Yefremov <yegorslists@googlemail.com> | 2012-07-06 10:01:28 -0400 |
---|---|---|
committer | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | 2012-07-28 20:59:31 -0400 |
commit | 99a647d1f17375a803528aaab303518958a7e17a (patch) | |
tree | 27098eed14d46fefa22c1c72506c6cbefeead17b /drivers/video/da8xx-fb.c | |
parent | d9053b487965042b9c849ce40c7f1fb7a0b84b39 (diff) |
da8xx-fb: add missing FB_BLANK operations
add FB_BLANK_NORMAL, FB_BLANK_VSYNC_SUSPEND and FB_BLANK_HSYNC_SUSPEND
modes (copy drivers/video/omap2/omapfb/omapfb-main.c implementation).
Otherwise X-server will complain about invalid parameter.
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Diffstat (limited to 'drivers/video/da8xx-fb.c')
-rw-r--r-- | drivers/video/da8xx-fb.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/video/da8xx-fb.c b/drivers/video/da8xx-fb.c index 2f24c19d7d08..034e182a29f7 100644 --- a/drivers/video/da8xx-fb.c +++ b/drivers/video/da8xx-fb.c | |||
@@ -1027,6 +1027,9 @@ static int cfb_blank(int blank, struct fb_info *info) | |||
1027 | 1027 | ||
1028 | lcd_enable_raster(); | 1028 | lcd_enable_raster(); |
1029 | break; | 1029 | break; |
1030 | case FB_BLANK_NORMAL: | ||
1031 | case FB_BLANK_VSYNC_SUSPEND: | ||
1032 | case FB_BLANK_HSYNC_SUSPEND: | ||
1030 | case FB_BLANK_POWERDOWN: | 1033 | case FB_BLANK_POWERDOWN: |
1031 | if (par->panel_power_ctrl) | 1034 | if (par->panel_power_ctrl) |
1032 | par->panel_power_ctrl(0); | 1035 | par->panel_power_ctrl(0); |