Commit 2e3a57fc authored by Fin Maaß's avatar Fin Maaß Committed by Benjamin Cabé
Browse files

drivers: spi: litex: litespi: flush pending irq before enable



flush pending irq before enableing the irq.

In the litex soc, if an irq is not enabled, it will
it can still be registered and will be pending
if it occurs, it will just not be send to the cpu
until the irq is enabled.

Signed-off-by: default avatarFin Maaß <f.maass@vogl-electronic.com>
parent 10740d63
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment