mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-25 22:20:45 +00:00
video: stm32: stm32_ltdc: missing set of line interrupt position
Set LIPCR (line interrupt position conf) register with line length. Signed-off-by: yannick fertre <yannick.fertre@st.com>
This commit is contained in:
parent
2a0e878460
commit
75fa711ac8
1 changed files with 2 additions and 0 deletions
|
@ -219,6 +219,8 @@ static void stm32_ltdc_set_mode(struct stm32_ltdc_priv *priv)
|
|||
val = (total_w << 16) | total_h;
|
||||
clrsetbits_le32(regs + LTDC_TWCR, TWCR_TOTALH | TWCR_TOTALW, val);
|
||||
|
||||
setbits_le32(regs + LTDC_LIPCR, acc_act_h + 1);
|
||||
|
||||
/* Signal polarities */
|
||||
val = 0;
|
||||
debug("%s: timing->flags 0x%08x\n", __func__, timing->flags);
|
||||
|
|
Loading…
Reference in a new issue