All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/4] ASoC: simple-card / audio-graph re-cleanup
@ 2021-05-11  1:15 Kuninori Morimoto
  2021-05-11  1:17 ` [PATCH v2 1/4] ASoC: simple-card: add simple_parse_node() Kuninori Morimoto
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Kuninori Morimoto @ 2021-05-11  1:15 UTC (permalink / raw)
  To: Mark Brown, Michael Walle, Guillaume Tucker; +Cc: Linux-ALSA


Hi Mark, Guillaume

I'm so sorry to bother you again and again.
These are v2 of simple-card / audio-graph re-cleanup.

KernelCI had reported that below patches broke kontron-sl28-var3-ads2
sound card probing.

	434392271afcff350fe "ASoC: simple-card: add simple_link_init()"
	59c35c44a9cf89a83a9 "ASoC: simple-card: add simple_parse_node()"

Main issue I'm understanding is name create timing.
We want to create dailink->name via dlc->dai_name.
But in CPU case, this dai_name might be removed by asoc_simple_canonicalize_cpu()
if it CPU was single DAI.

Thus, we need to
	A) get dlc->dai_name
	B) create dailink->name via dlc->dai_name
	C) call asoc_simple_canonicalize_cpu()

Above reverted patch did A->C->B.
My previous v1 patch did B->A->C.

I'm so sorry that I didn't deep test on v1.
I hope v2 patches has no issues on kontron-sl28-var3-ads2.

Link: https://lore.kernel.org/r/87cztzcq56.wl-kuninori.morimoto.gx@renesas.com
Link: https://lore.kernel.org/r/87h7k0i437.wl-kuninori.morimoto.gx@renesas.com
Link: https://lore.kernel.org/r/20210423175318.13990-1-broonie@kernel.org
Link: https://lore.kernel.org/r/3ca62063-41b4-c25b-a7bc-8a8160e7b684@collabora.com

Kuninori Morimoto (4):
  ASoC: simple-card: add simple_parse_node()
  ASoC: simple-card: add simple_link_init()
  ASoC: audio-graph: tidyup graph_dai_link_of_dpcm()
  ASoC: audio-graph: tidyup graph_parse_node()

 sound/soc/generic/audio-graph-card.c |  57 ++++-----
 sound/soc/generic/simple-card.c      | 168 +++++++++++++--------------
 2 files changed, 112 insertions(+), 113 deletions(-)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-05-11 18:25 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-11  1:15 [PATCH v2 0/4] ASoC: simple-card / audio-graph re-cleanup Kuninori Morimoto
2021-05-11  1:17 ` [PATCH v2 1/4] ASoC: simple-card: add simple_parse_node() Kuninori Morimoto
2021-05-11  1:17 ` [PATCH v2 2/4] ASoC: simple-card: add simple_link_init() Kuninori Morimoto
2021-05-11  1:17 ` [PATCH v2 3/4] ASoC: audio-graph: tidyup graph_dai_link_of_dpcm() Kuninori Morimoto
2021-05-11  1:18 ` [PATCH v2 4/4] ASoC: audio-graph: tidyup graph_parse_node() Kuninori Morimoto
2021-05-11  9:00 ` [PATCH v2 0/4] ASoC: simple-card / audio-graph re-cleanup Michael Walle
2021-05-11 18:21 ` Mark Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.