diff options
-rw-r--r-- | sound/pci/hda/patch_sigmatel.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c index 0df6f979f2a3..b254e90b47ca 100644 --- a/sound/pci/hda/patch_sigmatel.c +++ b/sound/pci/hda/patch_sigmatel.c | |||
@@ -4478,6 +4478,13 @@ again: | |||
4478 | stac92xx_set_config_regs(codec); | 4478 | stac92xx_set_config_regs(codec); |
4479 | } | 4479 | } |
4480 | 4480 | ||
4481 | if (spec->board_config > STAC_92HD71BXX_REF) { | ||
4482 | /* GPIO0 = EAPD */ | ||
4483 | spec->gpio_mask = 0x01; | ||
4484 | spec->gpio_dir = 0x01; | ||
4485 | spec->gpio_data = 0x01; | ||
4486 | } | ||
4487 | |||
4481 | switch (codec->vendor_id) { | 4488 | switch (codec->vendor_id) { |
4482 | case 0x111d76b6: /* 4 Port without Analog Mixer */ | 4489 | case 0x111d76b6: /* 4 Port without Analog Mixer */ |
4483 | case 0x111d76b7: | 4490 | case 0x111d76b7: |
@@ -4537,13 +4544,6 @@ again: | |||
4537 | spec->aloopback_mask = 0x50; | 4544 | spec->aloopback_mask = 0x50; |
4538 | spec->aloopback_shift = 0; | 4545 | spec->aloopback_shift = 0; |
4539 | 4546 | ||
4540 | if (spec->board_config > STAC_92HD71BXX_REF) { | ||
4541 | /* GPIO0 = EAPD */ | ||
4542 | spec->gpio_mask = 0x01; | ||
4543 | spec->gpio_dir = 0x01; | ||
4544 | spec->gpio_data = 0x01; | ||
4545 | } | ||
4546 | |||
4547 | spec->powerdown_adcs = 1; | 4547 | spec->powerdown_adcs = 1; |
4548 | spec->digbeep_nid = 0x26; | 4548 | spec->digbeep_nid = 0x26; |
4549 | spec->mux_nids = stac92hd71bxx_mux_nids; | 4549 | spec->mux_nids = stac92hd71bxx_mux_nids; |