From: yxj Date: Thu, 24 Jan 2013 02:40:42 +0000 (+0800) Subject: rk fb:all fb address can be set by user ioctl X-Git-Tag: firefly_0821_release~7809 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=a8c420da85d0b75ac4829de2aef443f9bb824e07;p=firefly-linux-kernel-4.4.55.git rk fb:all fb address can be set by user ioctl --- diff --git a/drivers/video/rockchip/rk_fb.c b/drivers/video/rockchip/rk_fb.c index 77f7872007bc..2b8297d948f4 100644 --- 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;