From 6d02e13e4bb2866940410d495bd2a4d3625cf41f Mon Sep 17 00:00:00 2001 From: Jason Chen Date: Mon, 20 Dec 2010 10:25:17 +0800 Subject: [PATCH] ENGR00137158 ipuv3: fix flash issue by first setting FG position fix flash issue by first setting FG position. Signed-off-by: Jason Chen (cherry picked from commit d6e7fa4bc91fcff2e6f4aff02998b22f8b482358) --- drivers/mxc/ipu3/ipu_disp.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/mxc/ipu3/ipu_disp.c b/drivers/mxc/ipu3/ipu_disp.c index 78302e027d2..2f8c1201689 100644 --- a/drivers/mxc/ipu3/ipu_disp.c +++ b/drivers/mxc/ipu3/ipu_disp.c @@ -1792,9 +1792,8 @@ int32_t ipu_disp_set_window_pos(ipu_channel_t channel, int16_t x_pos, reg |= (0x1 << dp_srm_shift); __raw_writel(reg, IPU_SRM_PRI2); } else { - /* controled by MCU if channel disabled */ + /* disable auto swap, controled by MCU if channel disabled */ reg = __raw_readl(IPU_SRM_PRI2) & (~(0x3 << dp_srm_shift)); - reg |= (0x3 << dp_srm_shift); __raw_writel(reg, IPU_SRM_PRI2); }