Skip to content
Commit 684ff2b3 authored by Pavlo Hamov's avatar Pavlo Hamov Committed by Chris Friedt
Browse files

drivers: display: stm32_ltdc: mask irq if necessary



LTDC interrupt routine is used to reload frame buffer pointer
once full frame is finished flushing. As long as there is no
need to change buffer - there is no need to disturb CPU.
Thus: Enable LTDC interrupt only when new buffer is pending

Signed-off-by: default avatarPavlo Hamov <pasha.gamov@gmail.com>
parent fecfe5e2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment