ENGR00137158 ipuv3: fix flash issue by first setting FG position

fix flash issue by first setting FG position.

Signed-off-by: Jason Chen <b02280@freescale.com>
(cherry picked from commit d6e7fa4bc91fcff2e6f4aff02998b22f8b482358)
This commit is contained in:
Jason Chen
2010-12-20 10:25:17 +08:00
committed by Matt Sealey
parent 67dd799948
commit 6d02e13e4b

View File

@@ -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);
}