]> git.neil.brown.name Git - history.git/commitdiff
[SPARC]: Fix cg3 fb blanking.
authorDavid S. Miller <davem@nuts.davemloft.net>
Mon, 14 Feb 2005 23:41:38 +0000 (15:41 -0800)
committerDavid S. Miller <davem@nuts.davemloft.net>
Mon, 14 Feb 2005 23:41:38 +0000 (15:41 -0800)
cg3_blank() needs to clear the video enable register bit
to blank the screen, not set it.

Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/video/cg3.c

index a9f88fe0d7d2497e33a90aba117b5501a1888eff..6e7d8d45dc68f4e81fb29f5c1740f6c95ae23aa2 100644 (file)
@@ -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;