ALSA: vmaster: Fix the regression of missing vmaster hook call
commit1ba65ae4bdbd43265c51ee4c30ff21a48124b6d8
authorTakashi Iwai <tiwai@suse.de>
Wed, 3 Jul 2013 12:01:32 +0000 (3 14:01 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 3 Jul 2013 12:01:32 +0000 (3 14:01 +0200)
tree07074f0151573ca441c8e7d230c7b4e14e4179b3
parent05843c07ee501cc89a484b2d02528282838a2318
ALSA: vmaster: Fix the regression of missing vmaster hook call

The commit [1ca2f2ec: ALSA: vmaster: Add snd_ctl_sync_vmaster() helper
function] changed master_put() function and the check for the required
vmaster hook call is wrongly performed now, which results in the
missing hook call upon "Master Playback Switch" value changes.
This patch corrects the check logic.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/vmaster.c