Skip to content

Commit 7c0f8f1

Browse files
Olivier Moysanbroonie
authored andcommitted
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 3ca507b commit 7c0f8f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sound/soc/stm/stm32_i2s.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1077,7 +1077,7 @@ static int stm32_i2s_parse_dt(struct platform_device *pdev,
10771077
if (irq < 0)
10781078
return irq;
10791079

1080-
ret = devm_request_irq(&pdev->dev, irq, stm32_i2s_isr, IRQF_ONESHOT,
1080+
ret = devm_request_irq(&pdev->dev, irq, stm32_i2s_isr, 0,
10811081
dev_name(&pdev->dev), i2s);
10821082
if (ret) {
10831083
dev_err(&pdev->dev, "irq request returned %d\n", ret);

0 commit comments

Comments
 (0)