Commit 2eb2d314 authored by Michael Walle's avatar Michael Walle Committed by Mark Brown

ASoC: fsl_sai: add IRQF_SHARED

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: default avatarMichael Walle <michael@walle.cc>
Reviewed-by: default avatarFabio Estevam <festevam@gmail.com>
Acked-by: default avatarNicolin Chen <nicoleotsuka@gmail.com>
Acked-by: default avatarDaniel Baluta <daniel.baluta@nxp.com>
Link: https://lore.kernel.org/r/20191128223802.18228-1-michael@walle.ccSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 0bb1306f
...@@ -958,7 +958,8 @@ static int fsl_sai_probe(struct platform_device *pdev) ...@@ -958,7 +958,8 @@ static int fsl_sai_probe(struct platform_device *pdev)
if (irq < 0) if (irq < 0)
return irq; 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) { if (ret) {
dev_err(&pdev->dev, "failed to claim irq %u\n", irq); dev_err(&pdev->dev, "failed to claim irq %u\n", irq);
return ret; return ret;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment