diff options
author | Ville Syrjala <syrjala@sci.fi> | 2006-12-08 05:40:41 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-08 11:29:06 -0500 |
commit | 27b6859799ea766281828588e1adb17751193075 (patch) | |
tree | 4aa15cd03a260c0747af518b510edb234ebc5ba0 /drivers | |
parent | 9b9817cc70709e10ffa9b27af35b2e8f1ef84798 (diff) |
[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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/video/aty/atyfb_base.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/aty/atyfb_base.c b/drivers/video/aty/atyfb_base.c index 9ea75f18169c..e6c3991f61ec 100644 --- a/drivers/video/aty/atyfb_base.c +++ b/drivers/video/aty/atyfb_base.c | |||
@@ -2825,9 +2825,9 @@ static int atyfb_blank(int blank, struct fb_info *info) | |||
2825 | #endif | 2825 | #endif |
2826 | 2826 | ||
2827 | gen_cntl = aty_ld_le32(CRTC_GEN_CNTL, par); | 2827 | gen_cntl = aty_ld_le32(CRTC_GEN_CNTL, par); |
2828 | gen_cntl &= ~0x400004c; | ||
2828 | switch (blank) { | 2829 | switch (blank) { |
2829 | case FB_BLANK_UNBLANK: | 2830 | case FB_BLANK_UNBLANK: |
2830 | gen_cntl &= ~0x400004c; | ||
2831 | break; | 2831 | break; |
2832 | case FB_BLANK_NORMAL: | 2832 | case FB_BLANK_NORMAL: |
2833 | gen_cntl |= 0x4000040; | 2833 | gen_cntl |= 0x4000040; |