diff options
author | yannick fertre <yannick.fertre@st.com> | 2018-03-02 15:59:24 +0100 |
---|---|---|
committer | Anatolij Gustschin <agust@denx.de> | 2018-03-19 10:52:09 +0100 |
commit | 75fa711ac89d80e32e6f56d328d2e071e2a28fab (patch) | |
tree | 7b7d1f62ffe26874e90a0bd91529285b2c46a23d /drivers/video/stm32 | |
parent | 2a0e878460164d90de5fa64b751fed9496b1372c (diff) | |
download | u-boot-75fa711ac89d80e32e6f56d328d2e071e2a28fab.tar.gz |
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>
Diffstat (limited to 'drivers/video/stm32')
-rw-r--r-- | drivers/video/stm32/stm32_ltdc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/video/stm32/stm32_ltdc.c b/drivers/video/stm32/stm32_ltdc.c index 08e0afcc9e..6c3557b06f 100644 --- a/drivers/video/stm32/stm32_ltdc.c +++ b/drivers/video/stm32/stm32_ltdc.c @@ -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); |