ASoC: soc.h: use array instead of playback/capture_widget
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 20 Sep 2022 06:32:36 +0000 (06:32 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 20 Sep 2022 11:19:32 +0000 (12:19 +0100)
commit3289dc026a8cf5d6469eb49d838bc971f4370f9d
tree6593217754f01775ce4b33b6cde838d8f114bcc1
parenta26ec2acb2043a52c41d2b651b30d2df475f4263
ASoC: soc.h: use array instead of playback/capture_widget

snd_soc_pcm_runtime has playback/capture_widget for Codec2Coddec.
The naming is unclear.
This patch names it as c2c_widget and uses array.

struct snd_soc_pcm_runtime {
...
=> struct snd_soc_dapm_widget *playback_widget;
=> struct snd_soc_dapm_widget *capture_widget;
...
}

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/87pmfqv9mk.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/soc.h
sound/soc/soc-dapm.c