Skip to content

Commit

Permalink
ASoC: fsl_sai: add IRQF_SHARED
Browse files Browse the repository at this point in the history
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 <[email protected]>
Reviewed-by: Fabio Estevam <[email protected]>
Acked-by: Nicolin Chen <[email protected]>
Acked-by: Daniel Baluta <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
  • Loading branch information
mwalle authored and broonie committed Dec 9, 2019
1 parent 0bb1306 commit 2eb2d31
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sound/soc/fsl/fsl_sai.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 2eb2d31

Please sign in to comment.