WSL2-Linux-Kernel/sound/soc/mediatek/mt8173
Akihiko Odaki 19aed2d6cd
ASoC: soc-card: Create jack kcontrol without pins
snd_soc_card_jack_new() allowed to create jack kcontrol without pins,
but did not create kcontrols. The jack would not have kcontrols if pins
were not going to be added.

This renames the old snd_soc_card_jack_new() to
snd_soc_card_jack_new_pins() for use when pins are provided or will be
added later. The new snd_soc_card_jack_new() appropriately creates a
jack for use without pins and adds a kcontrol.

Signed-off-by: Akihiko Odaki <akihiko.odaki@gmail.com>
Link: https://lore.kernel.org/r/20220408041114.6024-1-akihiko.odaki@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2022-04-14 17:37:21 +01:00
..
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mt8173-afe-common.h ASoC: mediatek: switch to SPDX license tag 2018-04-26 15:09:36 +01:00
mt8173-afe-pcm.c ASoC: mediatek: mt8173: Fix debugfs registration for components 2021-11-12 18:16:44 +00:00
mt8173-max98090.c ASoC: soc-card: Create jack kcontrol without pins 2022-04-14 17:37:21 +01:00
mt8173-rt5650-rt5514.c ASoC: soc-card: Create jack kcontrol without pins 2022-04-14 17:37:21 +01:00
mt8173-rt5650-rt5676.c ASoC: soc-card: Create jack kcontrol without pins 2022-04-14 17:37:21 +01:00
mt8173-rt5650.c ASoC: soc-card: Create jack kcontrol without pins 2022-04-14 17:37:21 +01:00