diff options
author | Ville Syrjala <syrjala@sci.fi> | 2006-12-08 02:40:41 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-08 08:29:06 -0800 |
commit | 27b6859799ea766281828588e1adb17751193075 (patch) | |
tree | 4aa15cd03a260c0747af518b510edb234ebc5ba0 /drivers/video | |
parent | 9b9817cc70709e10ffa9b27af35b2e8f1ef84798 (diff) | |
download | talos-op-linux-27b6859799ea766281828588e1adb17751193075.tar.gz talos-op-linux-27b6859799ea766281828588e1adb17751193075.zip |
[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/video')
-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) #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; |