diff mbox

[1/2] ASoC: davicni-mcasp: Mark the common irq line as shared

Message ID 1422880713-25414-2-git-send-email-peter.ujfalusi@ti.com (mailing list archive)
State Accepted
Commit 8f511ffb6b82f6914779a47039cccf91e953aa1f
Headers show

Commit Message

Peter Ujfalusi Feb. 2, 2015, 12:38 p.m. UTC
On DA830 devices McASP0,1 and 2 shares a single combined interrupt request
line.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
---
 sound/soc/davinci/davinci-mcasp.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Mark Brown Feb. 2, 2015, 6:32 p.m. UTC | #1
On Mon, Feb 02, 2015 at 02:38:32PM +0200, Peter Ujfalusi wrote:
> On DA830 devices McASP0,1 and 2 shares a single combined interrupt request
> line.

Applied, thanks.
diff mbox

Patch

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;