diff options
author | Takashi Iwai <tiwai@suse.de> | 2013-03-05 15:43:39 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2013-03-05 15:43:39 +0100 |
commit | 2069d483b39a603a5f3428a19d3b4ac89aa97f48 (patch) | |
tree | 0d8e0ea4dbd52498b774e82ff2593262f86f6af4 /sound/soc/codecs/wm5102.c | |
parent | 85c50a5899b23f4f893b0898b286023157b98376 (diff) |
ALSA: vmaster: Fix slave change notification
When a value of a vmaster slave control is changed, the ctl change
notification is sometimes ignored. This happens when the master
control overrides, e.g. when the corresponding master control is
muted. The reason is that slave_put() returns the value of the actual
slave put callback, and it doesn't reflect the virtual slave value
change.
This patch fixes the function just to return 1 whenever a slave value
is changed.
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/soc/codecs/wm5102.c')
0 files changed, 0 insertions, 0 deletions