From: Bert Karwatzki <spasswolf@web.de>
To: Stephan Gerhold <stephan@gerhold.net>
Cc: Bert Karwatzki <spasswolf@web.de>,
Mark Brown <broonie@kernel.org>,
linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org,
alsa-devel@alsa-project.org
Subject: [PATCH] ASoC: qcom: apq8016_sbc: Fix second argument of apq8016_dai_init()
Date: Mon, 18 Nov 2024 00:20:58 +0100 [thread overview]
Message-ID: <20241117232100.23760-1-spasswolf@web.de> (raw)
Since commit a78a42fb48b8 the second argument of apq8016_dai_init() has
to be an lpass id returned by qdsp6_dai_get_lpass_id().
Fixes: a78a42fb48b8 ("ASoC: qcom: apq8016_sbc: Allow routing audio through QDSP6")
Signed-off-by: Bert Karwatzki <spasswolf@web.de>
---
sound/soc/qcom/apq8016_sbc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/qcom/apq8016_sbc.c b/sound/soc/qcom/apq8016_sbc.c
index 3023cf180a75..ddfcd4616895 100644
--- a/sound/soc/qcom/apq8016_sbc.c
+++ b/sound/soc/qcom/apq8016_sbc.c
@@ -150,7 +150,7 @@ static int apq8016_sbc_dai_init(struct snd_soc_pcm_runtime *rtd)
{
struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0);
- return apq8016_dai_init(rtd, cpu_dai->id);
+ return apq8016_dai_init(rtd, qdsp6_dai_get_lpass_id(cpu_dai));
}
static void apq8016_sbc_add_ops(struct snd_soc_card *card)
--
2.45.2
I came across this while I was trying to adapt this driver to another
sound card.
Bert Karwatzki
next reply other threads:[~2024-11-17 23:21 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-17 23:20 Bert Karwatzki [this message]
2024-11-21 14:03 ` [PATCH] ASoC: qcom: apq8016_sbc: Fix second argument of apq8016_dai_init() Mark Brown
2024-11-21 14:11 ` Stephan Gerhold
2024-11-22 9:48 ` Bert Karwatzki
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20241117232100.23760-1-spasswolf@web.de \
--to=spasswolf@web.de \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=stephan@gerhold.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox