aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/softcursor.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/softcursor.c')
-rw-r--r--drivers/video/softcursor.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/drivers/video/softcursor.c b/drivers/video/softcursor.c
index 13a4511539a1..a6c5ca88d6b0 100644
--- a/drivers/video/softcursor.c
+++ b/drivers/video/softcursor.c
@@ -58,12 +58,8 @@ int soft_cursor(struct fb_info *info, struct fb_cursor *cursor)
58 } else 58 } else
59 memcpy(src, image->data, dsize); 59 memcpy(src, image->data, dsize);
60 60
61 if (info->pixmap.outbuf) 61 fb_sysmove_buf_aligned(info, &info->pixmap, dst, d_pitch, src,
62 fb_iomove_buf_aligned(info, &info->pixmap, dst, d_pitch, src, 62 s_pitch, image->height);
63 s_pitch, image->height);
64 else
65 fb_sysmove_buf_aligned(info, &info->pixmap, dst, d_pitch, src,
66 s_pitch, image->height);
67 63
68 image->data = dst; 64 image->data = dst;
69 info->fbops->fb_imageblit(info, image); 65 info->fbops->fb_imageblit(info, image);