aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/patch_sigmatel.c
diff options
context:
space:
mode:
authorHerton Ronaldo Krzesinski <herton@mandriva.com.br>2009-02-08 16:51:28 -0500
committerTakashi Iwai <tiwai@suse.de>2009-02-09 02:25:23 -0500
commit23c7b521c250b261dd97a7a06d5a2e74b56233d5 (patch)
tree163fc1ce51755bae6c73f5947fe8bf7035cac73f /sound/pci/hda/patch_sigmatel.c
parent8663ae55f39e99c25242adb6242a191258a4eca1 (diff)
ALSA: hda - Don't touch non-existent port f on 4-port 92hd71bxx codecs
When checking for input amps on pins 0x0a, 0x0d and 0x0f, and initializing them for 92hd71xxx codec models, we must skip nid 0x0f for 4-port models too like with 5-port models, as it is unused (nid 0x0f is vendor reserved in 4-port models). Signed-off-by: Herton Ronaldo Krzesinski <herton@mandriva.com.br> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/patch_sigmatel.c')
-rw-r--r--sound/pci/hda/patch_sigmatel.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c
index d16d5c60eecd..2f4e090b0557 100644
--- a/sound/pci/hda/patch_sigmatel.c
+++ b/sound/pci/hda/patch_sigmatel.c
@@ -5072,6 +5072,8 @@ again:
5072 switch (codec->vendor_id) { 5072 switch (codec->vendor_id) {
5073 case 0x111d76b6: /* 4 Port without Analog Mixer */ 5073 case 0x111d76b6: /* 4 Port without Analog Mixer */
5074 case 0x111d76b7: 5074 case 0x111d76b7:
5075 unmute_init++;
5076 /* fallthru */
5075 case 0x111d76b4: /* 6 Port without Analog Mixer */ 5077 case 0x111d76b4: /* 6 Port without Analog Mixer */
5076 case 0x111d76b5: 5078 case 0x111d76b5:
5077 memcpy(&spec->private_dimux, &stac92hd71bxx_dmux_nomixer, 5079 memcpy(&spec->private_dimux, &stac92hd71bxx_dmux_nomixer,