Commit 3477f765 authored by David S. Miller's avatar David S. Miller

[SPARC]: Fix cg3 fb blanking.

cg3_blank() needs to clear the video enable register bit
to blank the screen, not set it.
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent ab3cc442
......@@ -209,7 +209,7 @@ cg3_blank(int blank, struct fb_info *info)
case FB_BLANK_HSYNC_SUSPEND: /* VESA blank (hsync off) */
case FB_BLANK_POWERDOWN: /* Poweroff */
val = sbus_readb(&regs->control);
val |= CG3_CR_ENABLE_VIDEO;
val &= ~CG3_CR_ENABLE_VIDEO;
sbus_writeb(val, &regs->control);
par->flags |= CG3_FLAG_BLANKED;
break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment