diff options
author | Takashi Iwai <tiwai@suse.de> | 2021-10-06 16:17:12 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-10-27 09:32:40 +0200 |
commit | c4078a9c958d90b9a89c1a19309ea4904632dd4a (patch) | |
tree | c8a8fc8c39af83df689fd2db7329e7410f865c32 /fs/overlayfs/dir.c | |
parent | 25d5fb1cb5634f9cf12356197515f669cc03e742 (diff) |
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>
Diffstat (limited to 'fs/overlayfs/dir.c')
0 files changed, 0 insertions, 0 deletions