]> 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)
commit4dc1f15bd29dfee2c10702dcaa294da8816215c5
treeed684008be2c9291ced3a4c1ce8fdc9d3ec99774
parent7c93b6d7ff2c07940a15c7437237a1a03959662d
ASoC: soc-core.c: fixup snd_soc_of_get_dai_link_cpus()

commit 790a95e71b1256b ("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: 790a95e71b1256b ("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