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>
parent
c25d4546
-
mentioned in commit 2e1606a0
-
mentioned in commit 6e56a74b
-
mentioned in commit c4078a9c
-
mentioned in commit 5b6ce310
-
mentioned in commit 0d867a35
-
mentioned in commit a60ce083
-
mentioned in commit c974f2f9
-
mentioned in commit 330651b2
-
mentioned in commit 01ca6cf3
-
mentioned in commit 21b693bf
-
mentioned in commit 3439d462
-
mentioned in commit e406b0e1
-
mentioned in commit 6186c7b9
-
mentioned in commit 4e1b3e71
Please register or sign in to comment