From: Mark Brown <broonie@kernel.org>
To: John Watts <contact@jookia.org>
Cc: Liam Girdwood <lgirdwood@gmail.com>,
Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>,
linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org,
Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Subject: Re: [PATCH] ASoC: audio-graph-card2: Purge absent supplies for device tree nodes
Date: Fri, 8 Nov 2024 13:00:10 +0000 [thread overview]
Message-ID: <ffeeb9cd-7593-47b2-8fef-ec80cdfcb809@sirena.org.uk> (raw)
In-Reply-To: <20241108-graph_dt_fix-v1-1-173e2f9603d6@jookia.org>
[-- Attachment #1: Type: text/plain, Size: 1781 bytes --]
On Fri, Nov 08, 2024 at 12:37:15PM +1100, John Watts wrote:
> The audio graph card doesn't mark its subnodes such as multi {}, dpcm {}
> and c2c {} as not requiring any suppliers. This causes a hang as Linux
> waits for these phantom suppliers to show up on boot.
> Make it clear these nodes have no suppliers.
Copying in Morimoto-san.
>
> Example error message:
> [ 15.208558] platform 2034000.i2s: deferred probe pending: platform: wait for supplier /sound/multi
> [ 15.208584] platform sound: deferred probe pending: asoc-audio-graph-card2: parse error
>
> Signed-off-by: John Watts <contact@jookia.org>
> ---
> sound/soc/generic/audio-graph-card2.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/sound/soc/generic/audio-graph-card2.c b/sound/soc/generic/audio-graph-card2.c
> index 56f7f946882e831cc4474c86b31f69e15de1549a..68f1da6931af2161dc8815b8c04d10cd614cc182 100644
> --- a/sound/soc/generic/audio-graph-card2.c
> +++ b/sound/soc/generic/audio-graph-card2.c
> @@ -270,16 +270,19 @@ static enum graph_type __graph_get_type(struct device_node *lnk)
>
> if (of_node_name_eq(np, GRAPH_NODENAME_MULTI)) {
> ret = GRAPH_MULTI;
> + fw_devlink_purge_absent_suppliers(&np->fwnode);
> goto out_put;
> }
>
> if (of_node_name_eq(np, GRAPH_NODENAME_DPCM)) {
> ret = GRAPH_DPCM;
> + fw_devlink_purge_absent_suppliers(&np->fwnode);
> goto out_put;
> }
>
> if (of_node_name_eq(np, GRAPH_NODENAME_C2C)) {
> ret = GRAPH_C2C;
> + fw_devlink_purge_absent_suppliers(&np->fwnode);
> goto out_put;
> }
>
>
> ---
> base-commit: 98f7e32f20d28ec452afb208f9cffc08448a2652
> change-id: 20241108-graph_dt_fix-d1f0db88a696
>
> Best regards,
> --
> John Watts <contact@jookia.org>
>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
next prev parent reply other threads:[~2024-11-08 13:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-08 1:37 John Watts
2024-11-08 13:00 ` Mark Brown [this message]
2024-11-11 0:33 ` Kuninori Morimoto
2024-11-11 14:21 ` 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=ffeeb9cd-7593-47b2-8fef-ec80cdfcb809@sirena.org.uk \
--to=broonie@kernel.org \
--cc=contact@jookia.org \
--cc=kuninori.morimoto.gx@renesas.com \
--cc=lgirdwood@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=perex@perex.cz \
--cc=tiwai@suse.com \
/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
all inboxes | Powered by JetHome®