Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 27b68597 authored by Ville Syrjala's avatar Ville Syrjala Committed by Linus Torvalds
Browse files

[PATCH] atyfb: Fix blanking level transitions



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

Signed-off-by: default avatarVille Syrjala <syrjala@sci.fi>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 9b9817cc
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;
			break;
		case FB_BLANK_NORMAL:
			gen_cntl |= 0x4000040;