linux/sound/soc
Takashi Iwai c974f2f92c ASoC: DAPM: Fix missing kctl change notifications
commit 5af82c81b2c49cfb1cad84d9eb6eab0e3d1c4842 upstream.

The put callback of a kcontrol is supposed to return 1 when the value
is changed, and this will be notified to user-space.  However, some
DAPM kcontrols always return 0 (except for errors), hence the
user-space misses the update of a control value.

This patch corrects the behavior by properly returning 1 when the
value gets updated.

Reported-and-tested-by: Hans de Goede <hdegoede@redhat.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://lore.kernel.org/r/20211006141712.2439-1-tiwai@suse.de
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-10-27 09:54:27 +02:00
..
adi
amd ASoC: amd: change clk_get() to devm_clk_get() and add missed checks 2020-12-30 11:51:22 +01:00
atmel ASoC: atmel: ATMEL drivers don't need HAS_DMA 2021-09-22 12:26:26 +02:00
au1x
bcm
cirrus
codecs ASoC: wm8960: Fix clock configuration on slave mode 2021-10-27 09:54:25 +02:00
dwc
fsl ASoC: fsl_esai: Fix TDM slot setup for I2S mode 2021-04-21 12:56:14 +02:00
generic ASoC: simple-card: fix possible uninitialized single_cpu local variable 2021-05-14 09:44:27 +02:00
hisilicon ASoC: hisilicon: fix missing clk_disable_unprepare() on error in hi6210_i2s_startup() 2021-07-14 16:53:40 +02:00
img ASoC: img: Fix PM reference leak in img_i2s_in_probe() 2021-07-20 16:10:43 +02:00
intel ASoC: Intel: Skylake: Fix passing loadable flag for module 2021-09-22 12:26:34 +02:00
jz4740 ASoC: jz4740-i2s: add missed checks for clk_get() 2020-12-30 11:51:18 +01:00
kirkwood ASoC: kirkwood: fix IRQ error handling 2020-10-01 13:17:13 +02:00
mediatek ASoC: mediatek: mtk-btcvsd: Fix an error handling path in 'mtk_btcvsd_snd_probe()' 2021-07-14 16:53:42 +02:00
meson ASoC: meson: axg-tdmin: fix axg skew offset 2021-01-19 18:26:16 +01:00
mxs
pxa
qcom ASoC: qcom: lpass-platform: Fix memory leak 2020-11-24 13:29:07 +01:00
rockchip ASoC: rockchip: i2s: Fixup config for DAIFMT_DSP_A/B 2021-09-22 12:26:35 +02:00
samsung ASoC: samsung: tm2_wm5110: check of of_parse return value 2021-05-14 09:44:11 +02:00
sh ASoC: rsnd: tidyup loop on rsnd_adg_clk_query() 2021-07-14 16:53:40 +02:00
sirf
sof ASoC: SOF: Intel: HDA: fix core status verification 2021-04-14 08:24:14 +02:00
spear
sprd
sti
stm ASoC: stm32: spdifrx: fix regmap status check 2020-05-02 08:49:01 +02:00
sunxi ASoC: sunxi: sun4i-codec: fill ASoC card owner 2021-04-14 08:24:15 +02:00
tegra ASoC: tegra: Set driver_name=tegra for all machine drivers 2021-07-19 08:53:16 +02:00
ti ASoC: ti: omap-mcbsp: Fix an error handling path in 'asoc_mcbsp_probe()' 2020-06-24 17:50:26 +02:00
txx9
uniphier
ux500 ASoC: ux500: mop500: Fix some refcounted resources issues 2020-06-24 17:50:26 +02:00
xilinx ASoC: xilinx: Fix reference to PCM buffer address 2021-08-18 08:56:56 +02:00
xtensa
zte
Kconfig
Makefile
soc-ac97.c
soc-acpi.c
soc-component.c
soc-compress.c
soc-core.c ASoC: soc-core: Fix the error return code in snd_soc_of_parse_audio_routing() 2021-07-20 16:10:44 +02:00
soc-dai.c
soc-dapm.c ASoC: DAPM: Fix missing kctl change notifications 2021-10-27 09:54:27 +02:00
soc-devres.c
soc-generic-dmaengine-pcm.c
soc-io.c
soc-jack.c
soc-ops.c
soc-pcm.c ASoC: pcm: DRAIN support reactivation 2020-12-30 11:51:04 +01:00
soc-topology.c ASoC: topology: Fix memory corruption in soc_tplg_denum_create_values() 2021-02-03 23:26:01 +01:00
soc-utils.c