ASoC: davicni-mcasp: Mark the common irq line as shared
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Mon, 2 Feb 2015 12:38:32 +0000 (14:38 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 2 Feb 2015 18:32:43 +0000 (18:32 +0000)
On DA830 devices McASP0,1 and 2 shares a single combined interrupt request
line.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/davinci/davinci-mcasp.c

index 95eef582331b5a2a9c059eca3078737389dfeaeb..a5e4fe0359ce0f13dc0016636debc660abfa8c7b 100644 (file)
@@ -1461,7 +1461,8 @@ static int davinci_mcasp_probe(struct platform_device *pdev)
                                          dev_name(&pdev->dev));
                ret = devm_request_threaded_irq(&pdev->dev, irq, NULL,
                                                davinci_mcasp_common_irq_handler,
-                                               IRQF_ONESHOT, irq_name, mcasp);
+                                               IRQF_ONESHOT | IRQF_SHARED,
+                                               irq_name, mcasp);
                if (ret) {
                        dev_err(&pdev->dev, "common IRQ request failed\n");
                        goto err;