ASoC: soc-core.c: fixup snd_soc_of_get_dai_link_cpus()
authorMark Brown <broonie@kernel.org>
Thu, 30 Jun 2022 15:09:32 +0000 (16:09 +0100)
committerMark Brown <broonie@kernel.org>
Thu, 30 Jun 2022 15:09:32 +0000 (16:09 +0100)
commitf3762ddfa24068cf67bc395cb80a7928306ad1ef
tree7bd96c808829ffdaefebc5a1d5825298182f9dae
parentd8d6253b36f55d199590ef908712fe52bb39ee97
parent9cc69528188a4e3eb24370f6c05a92791ac249ba
ASoC: soc-core.c: fixup snd_soc_of_get_dai_link_cpus()

Merge series from Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>:

Current ASoC has fixup both snd_soc_of_get_dai_link_cpus/codecs().
I guess cpu was copied from codec, but it is using "codec" naming everwhere
in "cpu" function. It is strange, and thus, error case will be issue
(It should call cpu function instead of codec).

This patch tidyup it, and try to cleanup.
[1/2] is for bug-fix,
[2/2] is for new feature.