]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: stm32: i2s: remove irqf_oneshot flag
authorOlivier Moysan <olivier.moysan@foss.st.com>
Thu, 10 Nov 2022 08:44:06 +0000 (09:44 +0100)
committerMark Brown <broonie@kernel.org>
Thu, 10 Nov 2022 17:50:52 +0000 (17:50 +0000)
commit61e0afecbdab548a63be927fa3a93798120e3458
tree688889b6b3a68a90ad939b43cc19bc0fba83d541
parent8cb806412b35a83b834a9e45af7bb7fe10b603f1
ASoC: stm32: i2s: remove irqf_oneshot flag

The IRQF_ONESHOT flag allows to ensure that the interrupt is not
unmasked after the hard interrupt context handler has been executed
and the thread has been woken. The interrupt line is unmasked after
the thread handler function has been executed.

The STM32 I2S driver does not implement a threaded IRQ handler.
So, the IRQF_ONESHOT flag is not useful in I2S driver.
Remove this flag to allow the interrupt routine to be managed
as a thread in RT mode.

Signed-off-by: Olivier Moysan <olivier.moysan@foss.st.com>
Link: https://lore.kernel.org/r/20221110084406.287117-1-olivier.moysan@foss.st.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/stm/stm32_i2s.c