]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: soc-core.c: fixup snd_soc_of_get_dai_link_cpus()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Wed, 22 Jun 2022 05:54:06 +0000 (05:54 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 29 Jun 2022 17:10:14 +0000 (18:10 +0100)
commit6e30bf7d6c6543a9b20467095a5040c827624a65
treeed684008be2c9291ced3a4c1ce8fdc9d3ec99774
parent9ef60ea8501f0fef3494202f3f51f6a56e6d5a90
ASoC: soc-core.c: fixup snd_soc_of_get_dai_link_cpus()

commit 3e98554c2e30eb0 ("ASoC: Introduce snd_soc_of_get_dai_link_cpus")
adds new snd_soc_of_get_dai_link_cpus(), but it is using
"codec" everywhere. It is very strange, and is issue when error case.
It should call cpu instead of codec in error case.
This patch tidyup it.

Fixes: 3e98554c2e30eb0 ("ASoC: Introduce snd_soc_of_get_dai_link_cpus")
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Reviewed-by: Martin PoviĊĦer <povik+lin@cutebit.org>
Link: https://lore.kernel.org/r/87zgi5p7k1.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-core.c