diff options
author | Antonino A. Daplas <adaplas@gmail.com> | 2006-01-09 20:53:18 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-10 08:01:47 -0800 |
commit | e53f87a02a0d77c519fb93c7aa0912956294050c (patch) | |
tree | 91d982c47fcb9795b9c87edb29613253be50bd34 /drivers/video/vesafb.c | |
parent | f845fbac4e68573351965d9aaf626a63cc4151c7 (diff) | |
download | kernel-crypto-e53f87a02a0d77c519fb93c7aa0912956294050c.tar.gz kernel-crypto-e53f87a02a0d77c519fb93c7aa0912956294050c.tar.xz kernel-crypto-e53f87a02a0d77c519fb93c7aa0912956294050c.zip |
[PATCH] Fix vesafb display panning regression
Fix vesafb hang when scroll mode is REDRAW.
Signed-off-by: Antonino 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/vesafb.c')
-rw-r--r-- | drivers/video/vesafb.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/video/vesafb.c b/drivers/video/vesafb.c index e6e56b8df2d..8982e540214 100644 --- a/drivers/video/vesafb.c +++ b/drivers/video/vesafb.c @@ -417,6 +417,9 @@ static int __init vesafb_probe(struct platform_device *dev) info->flags = FBINFO_FLAG_DEFAULT | (ypan) ? FBINFO_HWACCEL_YPAN : 0; + if (!ypan) + info->fbops->fb_pan_display = NULL; + if (fb_alloc_cmap(&info->cmap, 256, 0) < 0) { err = -ENOMEM; goto err; |