mirror of
https://github.com/genesi/linux-legacy.git
synced 2026-11-16 17:01:59 +00:00
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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user