From f6006cb83ce9134bcec7dd7cca65752de3d51b7c Mon Sep 17 00:00:00 2001 From: Yuxi Sun Date: Thu, 17 Nov 2011 17:39:14 +0800 Subject: [PATCH] ENGR00162475 ipuv3 fb: fix camera preview failure fix camera preview failure when using double buffer mode for frame buffer Signed-off-by: Yuxi Sun --- drivers/video/mxc/mxc_ipuv3_fb.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/video/mxc/mxc_ipuv3_fb.c b/drivers/video/mxc/mxc_ipuv3_fb.c index d1036c805946..4004ddf10fc9 100644 --- a/drivers/video/mxc/mxc_ipuv3_fb.c +++ b/drivers/video/mxc/mxc_ipuv3_fb.c @@ -244,7 +244,8 @@ static int _setup_disp_channel2(struct fb_info *fbi) IPU_ROTATE_NONE, base, base, - base, + fbi->var.accel_flags & + FB_ACCEL_DOUBLE_FLAG ? 0 : base, 0, 0); if (retval) { dev_err(fbi->device, -- 2.39.5