ASoC: rsnd: move pcm_new from snd_soc_component_driver to snd_soc_dai_driver
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Fri, 17 May 2019 01:29:16 +0000 (10:29 +0900)
committerMark Brown <broonie@kernel.org>
Mon, 20 May 2019 14:21:28 +0000 (15:21 +0100)
commite9b5daad4e9bdd1b9e467873a4463c867ccf9ff1
tree15c8c444a072b1e54c9b4816c6b9b94c7bafda9c
parent39f2d114a1c7d73d601f19cbea0a955ade2784c3
ASoC: rsnd: move pcm_new from snd_soc_component_driver to snd_soc_dai_driver

snd_soc_dai_driver :: pcm_new has snd_soc_dai as parameter, but
snd_soc_component_driver :: pcm_new doesn't have it.

rsnd driver needs snd_soc_dai at pcm_new.
This patch moves .pcm_new from snd_soc_component_driver to
snd_soc_dai_driver, and don't use rtd->cpu_dai anymore.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sh/rcar/core.c