aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2011-06-03 04:05:02 -0400
committerTakashi Iwai <tiwai@suse.de>2011-06-03 04:05:02 -0400
commit4dffbe03d1e940aba878f9420e67feb8423cdd08 (patch)
treecd476063172e4676427f80b4a85e609ad58d580d /sound/pci
parentbf0be0e951cf1c4c9ce38032195cd8095a16d828 (diff)
ALSA: hda - Fix HP and Front pins of ad1988/ad1989 in ad198x_power_eapd()
In ad198x_power_eapd(), wrong pin NIDs are used for controlling EAPD for HP and Front outputs of AD1988/AD1989. These are actually same with the ones for AD1984 & co, port-A is 0x11 and port-D 0x12. Reported-by: Raymond Yau <superquad.vortex2@gmail.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci')
-rw-r--r--sound/pci/hda/patch_analog.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/sound/pci/hda/patch_analog.c b/sound/pci/hda/patch_analog.c
index 696ac2590307..82c4b2f53598 100644
--- a/sound/pci/hda/patch_analog.c
+++ b/sound/pci/hda/patch_analog.c
@@ -524,6 +524,10 @@ static void ad198x_power_eapd(struct hda_codec *codec)
524 case 0x11d4184a: 524 case 0x11d4184a:
525 case 0x11d4194a: 525 case 0x11d4194a:
526 case 0x11d4194b: 526 case 0x11d4194b:
527 case 0x11d41988:
528 case 0x11d4198b:
529 case 0x11d4989a:
530 case 0x11d4989b:
527 ad198x_power_eapd_write(codec, 0x12, 0x11); 531 ad198x_power_eapd_write(codec, 0x12, 0x11);
528 break; 532 break;
529 case 0x11d41981: 533 case 0x11d41981:
@@ -533,12 +537,6 @@ static void ad198x_power_eapd(struct hda_codec *codec)
533 case 0x11d41986: 537 case 0x11d41986:
534 ad198x_power_eapd_write(codec, 0x1b, 0x1a); 538 ad198x_power_eapd_write(codec, 0x1b, 0x1a);
535 break; 539 break;
536 case 0x11d41988:
537 case 0x11d4198b:
538 case 0x11d4989a:
539 case 0x11d4989b:
540 ad198x_power_eapd_write(codec, 0x29, 0x22);
541 break;
542 } 540 }
543} 541}
544 542