ALSA: hda - Mute the right widget in auto_mute_via_amp mode
authorTakashi Iwai <tiwai@suse.de>
Mon, 12 Aug 2013 12:44:59 +0000 (14:44 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 13 Aug 2013 07:11:04 +0000 (09:11 +0200)
The current generic parser code assumes that always a pin widget
controls the mute for an output blindly although it might be a
different widget in the middle.  Instead of the fixed assumption,
check each parsed path and just pick up the right widget that has been
already defined as a mute control.

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

Simple merge