From: Takashi Iwai Date: Mon, 24 Jun 2013 13:51:54 +0000 (+0200) Subject: ALSA: vmaster: Add snd_ctl_sync_vmaster() helper function X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~15^2~3^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1ca2f2ec9e74e9d6e398e09b6468b4462c6d6b6e;p=pandora-kernel.git ALSA: vmaster: Add snd_ctl_sync_vmaster() helper function Introduce a new helper function, snd_ctl_sync_vmaster(), which updates the slave put callbacks forcibly as well as calling the hook. This will be used in the upcoming patch in HD-audio codec driver for toggling the mute in vmaster slaves. Along with the new function, the old snd_ctl_sync_vmaster_hook() is replaced as a macro calling with the argument hook_only=true. Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed