diff options
author | Takashi Iwai <tiwai@suse.de> | 2013-06-24 17:51:54 +0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2013-06-24 17:51:54 +0400 |
commit | 1ca2f2ec9e74e9d6e398e09b6468b4462c6d6b6e (patch) | |
tree | 45abf24c4c67b427d1f0d5ed33c0279db29d3ca3 /sound/pci/hda/hda_generic.h | |
parent | e1a4dca6711c68b6fcc4a236b3475f25dbf227ae (diff) | |
download | linux-1ca2f2ec9e74e9d6e398e09b6468b4462c6d6b6e.tar.xz |
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 <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/hda_generic.h')
0 files changed, 0 insertions, 0 deletions