diff options
author | Herton Ronaldo Krzesinski <herton@mandriva.com.br> | 2009-02-16 04:23:00 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-02-16 04:23:00 -0500 |
commit | e2ea57a8df6da45f5f63ab7b56528a552f36fb72 (patch) | |
tree | b92c42fe8f61c11094e6bdead3e39a6b506cf2ad | |
parent | 6a05ac4afa90ac9c38fedd3f6940fe8da5d1fcf6 (diff) |
ALSA: hda - Fix speaker output on HP DV4 1155-SE
Force speaker pin config with model=hp-dv5 model for cases when bios
doesn't set it up properly. All reported hp laptops using model=hp-dv5
model have speaker at pin 0x0d with same config, so it's safe to add
this within hp-dv5 model.
Reference: alsa-devel mailing list thread on
http://mailman.alsa-project.org/pipermail/alsa-devel/2009-February/014390.html
Signed-off-by: Herton Ronaldo Krzesinski <herton@mandriva.com.br>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r-- | sound/pci/hda/patch_sigmatel.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c index aeb5d2126dae..7320059b7135 100644 --- a/sound/pci/hda/patch_sigmatel.c +++ b/sound/pci/hda/patch_sigmatel.c | |||
@@ -1823,6 +1823,8 @@ static struct snd_pci_quirk stac92hd71bxx_cfg_tbl[] = { | |||
1823 | "HP dv7", STAC_HP_DV5), | 1823 | "HP dv7", STAC_HP_DV5), |
1824 | SND_PCI_QUIRK(PCI_VENDOR_ID_HP, 0x30f7, | 1824 | SND_PCI_QUIRK(PCI_VENDOR_ID_HP, 0x30f7, |
1825 | "HP dv4", STAC_HP_DV5), | 1825 | "HP dv4", STAC_HP_DV5), |
1826 | SND_PCI_QUIRK(PCI_VENDOR_ID_HP, 0x30fb, | ||
1827 | "HP dv7", STAC_HP_DV5), | ||
1826 | SND_PCI_QUIRK(PCI_VENDOR_ID_HP, 0x30fc, | 1828 | SND_PCI_QUIRK(PCI_VENDOR_ID_HP, 0x30fc, |
1827 | "HP dv7", STAC_HP_M4), | 1829 | "HP dv7", STAC_HP_M4), |
1828 | SND_PCI_QUIRK(PCI_VENDOR_ID_HP, 0x3600, | 1830 | SND_PCI_QUIRK(PCI_VENDOR_ID_HP, 0x3600, |
@@ -5170,6 +5172,10 @@ again: | |||
5170 | spec->num_smuxes = 0; | 5172 | spec->num_smuxes = 0; |
5171 | spec->num_dmuxes = 0; | 5173 | spec->num_dmuxes = 0; |
5172 | break; | 5174 | break; |
5175 | case STAC_HP_DV5: | ||
5176 | stac_change_pin_config(codec, 0x0d, 0x90170010); | ||
5177 | stac92xx_auto_set_pinctl(codec, 0x0d, AC_PINCTL_OUT_EN); | ||
5178 | break; | ||
5173 | }; | 5179 | }; |
5174 | 5180 | ||
5175 | spec->multiout.dac_nids = spec->dac_nids; | 5181 | spec->multiout.dac_nids = spec->dac_nids; |