summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@ti.com>2015-02-02 15:38:32 +0300
committerMark Brown <broonie@kernel.org>2015-02-02 21:32:43 +0300
commit8f511ffb6b82f6914779a47039cccf91e953aa1f (patch)
tree8afae04faf348d54e8eb9bc0628d2e8163247237
parent67d35e5bc375b03ed3ad88b7dc4469ed5d3d69e9 (diff)
downloadlinux-8f511ffb6b82f6914779a47039cccf91e953aa1f.tar.xz
ASoC: davicni-mcasp: Mark the common irq line as shared
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>
-rw-r--r--sound/soc/davinci/davinci-mcasp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/davinci/davinci-mcasp.c b/sound/soc/davinci/davinci-mcasp.c
index 95eef582331b..a5e4fe0359ce 100644
--- a/sound/soc/davinci/davinci-mcasp.c
+++ b/sound/soc/davinci/davinci-mcasp.c
@@ -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;