diff options
author | Rohit kumar <rohitkr@codeaurora.org> | 2020-08-14 12:53:07 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-08-17 15:39:33 +0200 |
commit | b05372c84d61ad2a905274db7e3d63a65c835463 (patch) | |
tree | ad9c2e06989ecfdc8f1d7dc75d9be767ef78a2d0 /sound/soc/qcom | |
parent | ASoC: qcom: lpass-cpu: Use platform_get_resource (diff) | |
download | linux-b05372c84d61ad2a905274db7e3d63a65c835463.tar.xz linux-b05372c84d61ad2a905274db7e3d63a65c835463.zip |
ASoC: qcom: lpass-platform: Use platform_get_irq
platform_get_irq_byname() is used when there is list
of interrupts in the device node. As lpass-platform
has only one interrupt entry, use platform_get_irq()
instead.
Signed-off-by: Rohit kumar <rohitkr@codeaurora.org>
Link: https://lore.kernel.org/r/1597402388-14112-12-git-send-email-rohitkr@codeaurora.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/qcom')
-rw-r--r-- | sound/soc/qcom/lpass-platform.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/qcom/lpass-platform.c b/sound/soc/qcom/lpass-platform.c index 35aead1bfdf8..df692ed95503 100644 --- a/sound/soc/qcom/lpass-platform.c +++ b/sound/soc/qcom/lpass-platform.c @@ -638,7 +638,7 @@ int asoc_qcom_lpass_platform_register(struct platform_device *pdev) struct lpass_variant *v = drvdata->variant; int ret; - drvdata->lpaif_irq = platform_get_irq_byname(pdev, "lpass-irq-lpaif"); + drvdata->lpaif_irq = platform_get_irq(pdev, 0); if (drvdata->lpaif_irq < 0) return -ENODEV; |