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: Tobias Schramm <t.schramm@manjaro.org>
Link: https://lore.kernel.org/r/20200804195136.1485392-1-t.schramm@manjaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Tobias Schramm 2020-08-04 21:51:36 +02:00 • committed by Mark Brown
commit ae1ba50f1e
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0