projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eca1bc9
)
rk fb:all fb address can be set by user ioctl
author
yxj
<yxj@rock-chips.com>
Thu, 24 Jan 2013 02:40:42 +0000
(10:40 +0800)
committer
yxj
<yxj@rock-chips.com>
Thu, 24 Jan 2013 07:47:52 +0000
(15:47 +0800)
drivers/video/rockchip/rk_fb.c
patch
|
blob
|
history
diff --git
a/drivers/video/rockchip/rk_fb.c
b/drivers/video/rockchip/rk_fb.c
index 77f7872007bc3de9509f11c0238fbd6db24e49bf..2b8297d948f4f5913f79af6e18365a3f9958bd64 100644
(file)
--- a/
drivers/video/rockchip/rk_fb.c
+++ b/
drivers/video/rockchip/rk_fb.c
@@
-284,7
+284,7
@@
static int rk_fb_ioctl(struct fb_info *info, unsigned int cmd,unsigned long arg)
case FBIOPUT_FBPHYADD:
return info->fix.smem_start;
case FBIOSET_YUV_ADDR: //when in video mode, buff alloc by android
- if((!strcmp(fix->id,"fb1"))||(!strcmp(fix->id,"fb3")))
+
//
if((!strcmp(fix->id,"fb1"))||(!strcmp(fix->id,"fb3")))
{
if (copy_from_user(yuv_phy, argp, 8))
return -EFAULT;