All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ASoC: fsl_sai: add IRQF_SHARED
@ 2019-11-28 22:38 ` Michael Walle
  0 siblings, 0 replies; 21+ messages in thread
From: Michael Walle @ 2019-11-28 22:38 UTC (permalink / raw)
  To: alsa-devel, linuxppc-dev, linux-kernel
  Cc: Timur Tabi, Nicolin Chen, Xiubo Li, Fabio Estevam, Liam Girdwood,
	Mark Brown, Jaroslav Kysela, Takashi Iwai, Michael Walle

The LS1028A SoC uses the same interrupt line for adjacent SAIs. Use
IRQF_SHARED to be able to use these SAIs simultaneously.

Signed-off-by: Michael Walle <michael@walle.cc>
---
 sound/soc/fsl/fsl_sai.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sound/soc/fsl/fsl_sai.c b/sound/soc/fsl/fsl_sai.c
index b517e4bc1b87..8c3ea7300972 100644
--- a/sound/soc/fsl/fsl_sai.c
+++ b/sound/soc/fsl/fsl_sai.c
@@ -958,7 +958,8 @@ static int fsl_sai_probe(struct platform_device *pdev)
 	if (irq < 0)
 		return irq;
 
-	ret = devm_request_irq(&pdev->dev, irq, fsl_sai_isr, 0, np->name, sai);
+	ret = devm_request_irq(&pdev->dev, irq, fsl_sai_isr, IRQF_SHARED,
+			       np->name, sai);
 	if (ret) {
 		dev_err(&pdev->dev, "failed to claim irq %u\n", irq);
 		return ret;
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2019-12-09 19:31 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-28 22:38 [PATCH] ASoC: fsl_sai: add IRQF_SHARED Michael Walle
2019-11-28 22:38 ` Michael Walle
2019-11-28 22:38 ` [alsa-devel] " Michael Walle
2019-11-29 21:57 ` Fabio Estevam
2019-11-29 21:57   ` Fabio Estevam
2019-11-29 21:57   ` [alsa-devel] " Fabio Estevam
2019-12-05  2:17 ` Nicolin Chen
2019-12-05  2:17   ` Nicolin Chen
2019-12-05  2:17   ` [alsa-devel] " Nicolin Chen
2019-12-05  8:43 ` Daniel Baluta
2019-12-05  8:43   ` Daniel Baluta
2019-12-05  8:43   ` [alsa-devel] " Daniel Baluta
2019-12-05  9:18   ` Michael Walle
2019-12-05  9:18     ` Michael Walle
2019-12-05  9:18     ` [alsa-devel] " Michael Walle
2019-12-05  9:45     ` Daniel Baluta
2019-12-05  9:45       ` Daniel Baluta
2019-12-05  9:45       ` [alsa-devel] " Daniel Baluta
2019-12-09 18:59 ` Applied "ASoC: fsl_sai: add IRQF_SHARED" to the asoc tree Mark Brown
2019-12-09 18:59   ` Mark Brown
2019-12-09 18:59   ` [alsa-devel] " Mark Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.