From: Binbin Zhou <zhoubb.aaron@gmail.com>
To: Mark Brown <broonie@kernel.org>
Cc: Binbin Zhou <zhoubinbin@loongson.cn>,
Huacai Chen <chenhuacai@loongson.cn>,
Liam Girdwood <lgirdwood@gmail.com>,
Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Huacai Chen <chenhuacai@kernel.org>,
linux-sound@vger.kernel.org, devicetree@vger.kernel.org,
Xuerui Wang <kernel@xen0n.name>,
loongarch@lists.linux.dev,
Neil Armstrong <neil.armstrong@linaro.org>,
Pierre-Louis Bossart <pierre-louis.bossart@linux.dev>,
Richard Fitzgerald <rf@opensource.cirrus.com>,
Luca Ceresoli <luca.ceresoli@bootlin.com>,
Weidong Wang <wangweidong.a@awinic.com>,
Prasad Kumpatla <quic_pkumpatl@quicinc.com>,
Herve Codina <herve.codina@bootlin.com>,
Masahiro Yamada <masahiroy@kernel.org>,
Shuming Fan <shumingf@realtek.com>
Subject: Re: [PATCH v2 5/9] ASoC: loongson: Fix codec detection failure on FDT systems
Date: Wed, 25 Sep 2024 15:05:09 +0600 [thread overview]
Message-ID: <CAMpQs4KW7P0soeTw0Bi_OpcGXjk8EBjcNmHFeAi=MCauhwanYA@mail.gmail.com> (raw)
In-Reply-To: <ZvKEFlARvbFFWI83@finisterre.sirena.org.uk>
Hi Mark:
On Tue, Sep 24, 2024 at 3:19 PM Mark Brown <broonie@kernel.org> wrote:
>
> On Tue, Sep 24, 2024 at 03:00:32PM +0800, Binbin Zhou wrote:
>
> > When the Codec is compiled into a module, we can't use
> > snd_soc_of_get_dlc() to get the codec dai_name, use
> > snd_soc_get_dai_name() instead.
>
> What is the issue with using snd_soc_of_get_dlc()? Shouldn't we fix the
> helper instead?
I'm very sorry for this part, I checked and tested it again and I
should have over-modified it as well as the use of
snd_soc_of_get_dlc() is correct.
In fact, what's really being missed here is the assignment of
snd_soc_dai_link.platforms->of_node, which causes component_empty for
soc_dai_link_sanity_check().
I'll rewrite this part in the next patch set.
Thanks.
Binbin
next prev parent reply other threads:[~2024-09-25 9:05 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-24 6:59 [PATCH v2 0/9] ASoC: Some issues about loongson i2s Binbin Zhou
2024-09-24 6:59 ` [PATCH v2 1/9] ASoC: dt-bindings: Add Everest ES8323 Codec Binbin Zhou
2024-09-24 23:26 ` Rob Herring (Arm)
2024-09-24 7:00 ` [PATCH v2 2/9] ASoC: codecs: Add support for ES8323 Binbin Zhou
2024-09-24 9:03 ` Mark Brown
2024-09-25 8:44 ` Binbin Zhou
2024-09-24 7:00 ` [PATCH v2 3/9] ASoC: dt-bindings: Add NXP uda1342 Codec Binbin Zhou
2024-09-24 7:00 ` [PATCH v2 4/9] ASoC: codecs: Add uda1342 codec driver Binbin Zhou
2024-09-24 9:09 ` Mark Brown
2024-09-24 15:58 ` kernel test robot
2024-09-24 17:31 ` kernel test robot
2024-09-24 7:00 ` [PATCH v2 5/9] ASoC: loongson: Fix codec detection failure on FDT systems Binbin Zhou
2024-09-24 9:19 ` Mark Brown
2024-09-25 9:05 ` Binbin Zhou [this message]
2024-09-24 7:00 ` [PATCH v2 6/9] ASoC: dt-bindings: Add Loongson I2S controller Binbin Zhou
2024-09-24 23:27 ` Rob Herring (Arm)
2024-09-24 7:00 ` [PATCH v2 7/9] ASoC: loongson: Add I2S controller driver as platform device Binbin Zhou
2024-09-24 9:14 ` Mark Brown
2024-09-26 2:03 ` Binbin Zhou
2024-09-26 7:45 ` Mark Brown
2024-09-27 1:27 ` Binbin Zhou
2024-09-24 21:26 ` kernel test robot
2024-09-25 4:18 ` kernel test robot
2024-09-24 7:01 ` [PATCH v2 8/9] LoongArch: dts: Add I2S support to Loongson-2K1000 Binbin Zhou
2024-09-24 7:01 ` [PATCH v2 9/9] LoongArch: dts: Add I2S support to Loongson-2K2000 Binbin Zhou
2024-09-24 11:36 ` [PATCH v2 0/9] ASoC: Some issues about loongson i2s Mark Brown
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='CAMpQs4KW7P0soeTw0Bi_OpcGXjk8EBjcNmHFeAi=MCauhwanYA@mail.gmail.com' \
--to=zhoubb.aaron@gmail.com \
--cc=broonie@kernel.org \
--cc=chenhuacai@kernel.org \
--cc=chenhuacai@loongson.cn \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=herve.codina@bootlin.com \
--cc=kernel@xen0n.name \
--cc=krzk+dt@kernel.org \
--cc=lgirdwood@gmail.com \
--cc=linux-sound@vger.kernel.org \
--cc=loongarch@lists.linux.dev \
--cc=luca.ceresoli@bootlin.com \
--cc=masahiroy@kernel.org \
--cc=neil.armstrong@linaro.org \
--cc=perex@perex.cz \
--cc=pierre-louis.bossart@linux.dev \
--cc=quic_pkumpatl@quicinc.com \
--cc=rf@opensource.cirrus.com \
--cc=robh+dt@kernel.org \
--cc=shumingf@realtek.com \
--cc=tiwai@suse.com \
--cc=wangweidong.a@awinic.com \
--cc=zhoubinbin@loongson.cn \
/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;
as well as URLs for NNTP newsgroup(s).