diff options
author | Yuxi Sun <b36102@freescale.com> | 2011-11-17 17:39:14 +0800 |
---|---|---|
committer | Jason Liu <r64343@freescale.com> | 2012-01-09 21:07:16 +0800 |
commit | 13de2967e782a60986d4e84ea4444670fd4bf5c1 (patch) | |
tree | 569f0c0dda7b70749e7f1e4794535a289cf8a4cb /drivers/video | |
parent | 7be23e9541b99a95ee4e8daadbfe38b6ef20901e (diff) |
ENGR00162475 ipuv3 fb: fix camera preview failure
fix camera preview failure when using double buffer mode for frame
buffer
Signed-off-by: Yuxi Sun <b36102@freescale.com>
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/mxc/mxc_ipuv3_fb.c | 3 |
1 files changed, 2 insertions, 1 deletions
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, |