aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuxi Sun <b36102@freescale.com>2011-11-17 17:39:14 +0800
committerEric Miao <eric.miao@linaro.org>2011-11-29 16:43:15 +0800
commit3fccb81b3ccf44b809d116156a00d8a6704b87b8 (patch)
tree17334ce6238f391f3601b645482da04c0c624464
parentfa81b694aeb9e539ee7996a78db0e69c675f9a05 (diff)
downloadlinux-linaro-3fccb81b3ccf44b809d116156a00d8a6704b87b8.tar.gz
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>
-rw-r--r--drivers/video/mxc/mxc_ipuv3_fb.c3
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 daac3fc7ef5..26725818bc1 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,