diff options
| author | Kuninori Morimoto <[email protected]> | 2021-05-11 01:18:48 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2021-05-11 14:46:51 +0000 |
| commit | 582f3503f96543f3afbaaaa085755fd167a0f71e (patch) | |
| tree | a428e9dd591eaebf0763729e2e3d409d757c04f7 /tools/testing/selftests/bpf/prog_tests/autoload.c | |
| parent | ASoC: audio-graph: tidyup graph_dai_link_of_dpcm() (diff) | |
| download | kernel-582f3503f96543f3afbaaaa085755fd167a0f71e.tar.gz kernel-582f3503f96543f3afbaaaa085755fd167a0f71e.zip | |
ASoC: audio-graph: tidyup graph_parse_node()
audio-graph is using cpus->dai_name / codecs->dai_name for
dailink->name.
In graph_parse_node(), xxx->dai_name is got by
snd_soc_get_dai_name(), but it might be removed soon by
asoc_simple_canonicalize_cpu().
The order should be
*1) call snd_soc_get_dai_name()
2) create dailink name
*3) call asoc_simple_canonicalize_cpu()
* are implemented in graph_parse_node().
This patch remove 3) from graph_parse_node()
Reported-by: "kernelci.org bot" <[email protected]>
Fixes: 8859f809c7d5813 ("ASoC: audio-graph: add graph_parse_node()")
Fixes: e51237b8d305225 ("ASoC: audio-graph: add graph_link_init()")
Signed-off-by: Kuninori Morimoto <[email protected]>
Tested-by: Michael Walle <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions
