diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/video/pm3fb.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/video/pm3fb.c b/drivers/video/pm3fb.c index 438872a5f43f..0e63f03b5367 100644 --- a/drivers/video/pm3fb.c +++ b/drivers/video/pm3fb.c | |||
@@ -886,7 +886,7 @@ static int pm3fb_set_par(struct fb_info *info) | |||
886 | if ((info->var.activate & FB_ACTIVATE_MASK) == FB_ACTIVATE_NOW) | 886 | if ((info->var.activate & FB_ACTIVATE_MASK) == FB_ACTIVATE_NOW) |
887 | par->video |= PM3VideoControl_ENABLE; | 887 | par->video |= PM3VideoControl_ENABLE; |
888 | else { | 888 | else { |
889 | par->video |= PM3VideoControl_DISABLE; | 889 | par->video &= ~PM3VideoControl_ENABLE; |
890 | DPRINTK("PM3Video disabled\n"); | 890 | DPRINTK("PM3Video disabled\n"); |
891 | } | 891 | } |
892 | switch (bpp) { | 892 | switch (bpp) { |
@@ -911,8 +911,7 @@ static int pm3fb_set_par(struct fb_info *info) | |||
911 | 911 | ||
912 | /* pm3fb_clear_memory(info, 0);*/ | 912 | /* pm3fb_clear_memory(info, 0);*/ |
913 | pm3fb_clear_colormap(par, 0, 0, 0); | 913 | pm3fb_clear_colormap(par, 0, 0, 0); |
914 | PM3_WRITE_DAC_REG(par, PM3RD_CursorMode, | 914 | PM3_WRITE_DAC_REG(par, PM3RD_CursorMode, 0); |
915 | PM3RD_CursorMode_CURSOR_DISABLE); | ||
916 | pm3fb_init_engine(info); | 915 | pm3fb_init_engine(info); |
917 | pm3fb_write_mode(info); | 916 | pm3fb_write_mode(info); |
918 | return 0; | 917 | return 0; |