]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit467a5f0374d2de150e56537ec86dca0c95774d24
tree6593217754f01775ce4b33b6cde838d8f114bcc1
parentb68783d2b0798ca814e4a60fb25f6aa0e87c98a6
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