Files
linux/sound/soc
Takashi Iwai 9371c6fe0e ASoC: DAPM: Fix missing kctl change notifications
commit 5af82c81b2 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>
2023-05-16 12:01:27 +09:00
..
2016-09-12 20:04:09 +01:00
2016-10-24 18:28:42 +01:00
2018-02-25 11:05:44 +01:00
2017-03-27 22:01:25 -08:00
2017-03-27 22:01:25 -08:00
2023-05-15 17:14:02 +09:00