diff options
author | Takashi Iwai <tiwai@suse.de> | 2013-03-05 14:43:39 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-03-14 18:26:24 (GMT) |
commit | 34d8bb52ecd8182b74ed57ac3f17970fb7af024e (patch) | |
tree | ffda2f12a6dbf772bae265bb4ee8f4d3bf9aa612 /sound/last.c | |
parent | e54d986a8fe9daab94cb7faefb352557557c41f0 (diff) | |
download | linux-fsl-qoriq-34d8bb52ecd8182b74ed57ac3f17970fb7af024e.tar.xz |
ALSA: vmaster: Fix slave change notification
commit 2069d483b39a603a5f3428a19d3b4ac89aa97f48 upstream.
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.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound/last.c')
0 files changed, 0 insertions, 0 deletions