mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
fbdev: metronomefb bugfix
This patch is a bugfix for the use of cfb_* functions instead of sys_* functions. sys_* should be used with vmalloced framebuffers. the previous cfb_ use would not work for callers of imageblit/etc. Signed-off-by: Jaya Kumar <[email protected]> Cc: "Antonino A. Daplas" <[email protected]> Cc: Geert Uytterhoeven <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
6f90a8bdd1
commit
555514fabc
1 changed files with 3 additions and 3 deletions
|
|
@ -678,7 +678,7 @@ static void metronomefb_fillrect(struct fb_info *info,
|
|||
{
|
||||
struct metronomefb_par *par = info->par;
|
||||
|
||||
cfb_fillrect(info, rect);
|
||||
sys_fillrect(info, rect);
|
||||
metronomefb_dpy_update(par);
|
||||
}
|
||||
|
||||
|
|
@ -687,7 +687,7 @@ static void metronomefb_copyarea(struct fb_info *info,
|
|||
{
|
||||
struct metronomefb_par *par = info->par;
|
||||
|
||||
cfb_copyarea(info, area);
|
||||
sys_copyarea(info, area);
|
||||
metronomefb_dpy_update(par);
|
||||
}
|
||||
|
||||
|
|
@ -696,7 +696,7 @@ static void metronomefb_imageblit(struct fb_info *info,
|
|||
{
|
||||
struct metronomefb_par *par = info->par;
|
||||
|
||||
cfb_imageblit(info, image);
|
||||
sys_imageblit(info, image);
|
||||
metronomefb_dpy_update(par);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue