diff options
author | Takashi Iwai <tiwai@suse.de> | 2021-10-06 17:17:12 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-10-07 17:45:12 +0300 |
commit | 5af82c81b2c49cfb1cad84d9eb6eab0e3d1c4842 (patch) | |
tree | be0eb32169f15b27fbb4b2524fd8ba66ec7cd642 /sound/soc/codecs/cx20442.h | |
parent | c25d4546ca452b2e8c03bc735e4c65bc6dd751dd (diff) | |
download | linux-5af82c81b2c49cfb1cad84d9eb6eab0e3d1c4842.tar.xz |
ASoC: DAPM: Fix missing kctl change notifications
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>
Diffstat (limited to 'sound/soc/codecs/cx20442.h')
0 files changed, 0 insertions, 0 deletions