Procházet zdrojové kódy

[PATCH] atyfb: Fix blanking level transitions

Fix a minor problem in blanking level transitions.  Reducing the blanking
level gradually was impossible.

Signed-off-by: Ville Syrjala <syrjala@sci.fi>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Ville Syrjala před 18 roky
rodič
revize
27b6859799
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2 2
      drivers/video/aty/atyfb_base.c

+ 2 - 2
drivers/video/aty/atyfb_base.c

@@ -2825,9 +2825,9 @@ static int atyfb_blank(int blank, struct fb_info *info)
 #endif
 
 	gen_cntl = aty_ld_le32(CRTC_GEN_CNTL, par);
+	gen_cntl &= ~0x400004c;
 	switch (blank) {
-        	case FB_BLANK_UNBLANK:
-			gen_cntl &= ~0x400004c;
+		case FB_BLANK_UNBLANK:
 			break;
 		case FB_BLANK_NORMAL:
 			gen_cntl |= 0x4000040;