ALSA: hda - Add common automute support for mxier-amp on/off for Reatek
authorTakashi Iwai <tiwai@suse.de>
Thu, 28 Apr 2011 12:03:24 +0000 (14:03 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 28 Apr 2011 12:45:50 +0000 (14:45 +0200)
commit3b8510ce972c93000ea65122bab3a278074eda98
treeecf8223ab3dea2f7a0b5c65ffb45e8885f597a5f
parentd922b51dabbe9b6aeee44e2e3a605323591e3707
ALSA: hda - Add common automute support for mxier-amp on/off for Reatek

Some models do mute on/off the connected mixer widget for the automatic
muting, instead of controlling the pin widget itself.  This patch adds
the implementation of such type of auto-mute in the common helper
function, and reduces the redundant codes for each model preset.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c