WSL2-Linux-Kernel/sound/soc/rockchip
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
..
Kconfig ASoC: rockchip: add support for i2s-tdm controller 2021-10-07 16:58:16 +01:00
Makefile Merge branch 'asoc-5.15' into asoc-5.16 2021-10-21 14:41:32 +01:00
rk3288_hdmi_analog.c ASoC: soc-card: Create jack kcontrol without pins 2022-04-14 17:37:21 +01:00
rk3399_gru_sound.c ASoC: soc-card: Create jack kcontrol without pins 2022-04-14 17:37:21 +01:00
rockchip_i2s.c ASoC: rockchip: i2s: Fix missing clk_disable_unprepare() in rockchip_i2s_probe 2022-03-08 12:27:57 +00:00
rockchip_i2s.h ASoC: rockchip: i2s: Add support for frame inversion 2021-08-26 13:59:40 +01:00
rockchip_i2s_tdm.c ASoC: rockchip: i2s_tdm: Fixup config for SND_SOC_DAIFMT_DSP_A/B 2022-03-23 12:17:52 +00:00
rockchip_i2s_tdm.h ASoC: rockchip: add support for i2s-tdm controller 2021-10-07 16:58:16 +01:00
rockchip_max98090.c ASoC: soc-card: Create jack kcontrol without pins 2022-04-14 17:37:21 +01:00
rockchip_pdm.c ASoC: rockchip: pdm: Add support for path map 2021-09-13 01:44:10 +01:00
rockchip_pdm.h ASoC: rockchip: pdm: Add support for path map 2021-09-13 01:44:10 +01:00
rockchip_rt5645.c ASoC: soc-card: Create jack kcontrol without pins 2022-04-14 17:37:21 +01:00
rockchip_spdif.c ASoC: rockchip: spdif: Add support for rk3568 spdif 2021-08-26 13:56:56 +01:00
rockchip_spdif.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00