diff options
author | David Henningsson <david.henningsson@canonical.com> | 2011-06-22 03:58:37 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2011-06-23 03:25:20 -0400 |
commit | d2a19da79d3ea5b7859248b0f132c479ed4505e2 (patch) | |
tree | 80e85c6712f726738e7aefd7824844c09d868782 /sound | |
parent | e905a83acd7bf8989c3d5ba3099b72675f5d7d29 (diff) |
ALSA: HDA: Pinfix quirk for HP Z200 Workstation
BIOS lists the internal speaker as an internal line-out. Change to
internal speaker + model=auto for better auto-mute capabilities.
BugLink: http://bugs.launchpad.net/bugs/754964
Reported-by: Marc Legris <marc.legris@canonical.com>
Signed-off-by: David Henningsson <david.henningsson@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/pci/hda/patch_realtek.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 475ed1e8ffc6..d21191dcfe88 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c | |||
@@ -12599,6 +12599,7 @@ static const struct hda_verb alc262_toshiba_rx1_unsol_verbs[] = { | |||
12599 | */ | 12599 | */ |
12600 | enum { | 12600 | enum { |
12601 | PINFIX_FSC_H270, | 12601 | PINFIX_FSC_H270, |
12602 | PINFIX_HP_Z200, | ||
12602 | }; | 12603 | }; |
12603 | 12604 | ||
12604 | static const struct alc_fixup alc262_fixups[] = { | 12605 | static const struct alc_fixup alc262_fixups[] = { |
@@ -12611,9 +12612,17 @@ static const struct alc_fixup alc262_fixups[] = { | |||
12611 | { } | 12612 | { } |
12612 | } | 12613 | } |
12613 | }, | 12614 | }, |
12615 | [PINFIX_HP_Z200] = { | ||
12616 | .type = ALC_FIXUP_PINS, | ||
12617 | .v.pins = (const struct alc_pincfg[]) { | ||
12618 | { 0x16, 0x99130120 }, /* internal speaker */ | ||
12619 | { } | ||
12620 | } | ||
12621 | }, | ||
12614 | }; | 12622 | }; |
12615 | 12623 | ||
12616 | static const struct snd_pci_quirk alc262_fixup_tbl[] = { | 12624 | static const struct snd_pci_quirk alc262_fixup_tbl[] = { |
12625 | SND_PCI_QUIRK(0x103c, 0x170b, "HP Z200", PINFIX_HP_Z200), | ||
12617 | SND_PCI_QUIRK(0x1734, 0x1147, "FSC Celsius H270", PINFIX_FSC_H270), | 12626 | SND_PCI_QUIRK(0x1734, 0x1147, "FSC Celsius H270", PINFIX_FSC_H270), |
12618 | {} | 12627 | {} |
12619 | }; | 12628 | }; |
@@ -12730,6 +12739,8 @@ static const struct snd_pci_quirk alc262_cfg_tbl[] = { | |||
12730 | ALC262_HP_BPC), | 12739 | ALC262_HP_BPC), |
12731 | SND_PCI_QUIRK_MASK(0x103c, 0xff00, 0x1500, "HP z series", | 12740 | SND_PCI_QUIRK_MASK(0x103c, 0xff00, 0x1500, "HP z series", |
12732 | ALC262_HP_BPC), | 12741 | ALC262_HP_BPC), |
12742 | SND_PCI_QUIRK(0x103c, 0x170b, "HP Z200", | ||
12743 | ALC262_AUTO), | ||
12733 | SND_PCI_QUIRK_MASK(0x103c, 0xff00, 0x1700, "HP xw series", | 12744 | SND_PCI_QUIRK_MASK(0x103c, 0xff00, 0x1700, "HP xw series", |
12734 | ALC262_HP_BPC), | 12745 | ALC262_HP_BPC), |
12735 | SND_PCI_QUIRK(0x103c, 0x2800, "HP D7000", ALC262_HP_BPC_D7000_WL), | 12746 | SND_PCI_QUIRK(0x103c, 0x2800, "HP D7000", ALC262_HP_BPC_D7000_WL), |