Skip to content
Unverified Commit ae1ba50f authored by Tobias Schramm's avatar Tobias Schramm Committed by Mark Brown
Browse files

spi: stm32: clear only asserted irq flags on interrupt



Previously the stm32h7 interrupt thread cleared all non-masked interrupts.
If an interrupt was to occur during the handling of another interrupt its
flag would be unset, resulting in a lost interrupt.
This patches fixes the issue by clearing only the currently set interrupt
flags.

Signed-off-by: default avatarTobias Schramm <t.schramm@manjaro.org>
Link: https://lore.kernel.org/r/20200804195136.1485392-1-t.schramm@manjaro.org


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent ddf75be4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment