ALSA: hda - Fix the wrong pin-cap check in patch_realtek.c
authorTakashi Iwai <tiwai@suse.de>
Mon, 23 Mar 2009 14:17:38 +0000 (15:17 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 23 Mar 2009 14:20:53 +0000 (15:20 +0100)
commite82c025b501a1ca62dec40989817dbb17c0b9167
tree51e37582df4f7e21526ee8d4a52a3a0305eb6d6c
parent1327a32b878b5ed2113c63557b6f4f949f821857
ALSA: hda - Fix the wrong pin-cap check in patch_realtek.c

The check for the amp-output must be done for widget-caps rather than
pin-caps as implemented in the recent change...  Simply a thinko.

Also, add the similar checks to all places that put output-amp mutes
in the initialization.

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