On Thu, 09 Mar 2017 13:29:13 +0100, Jaroslav Kysela wrote: > > This tested patch adds missing initialization for Line-In/Out PINs for > the docking station for HP 820 G2. > > Signed-off-by: Jaroslav Kysela <perex@xxxxxxxx> Applied, thanks. Takashi > --- > sound/pci/hda/patch_realtek.c | 14 +++++++++++++- > 1 file changed, 13 insertions(+), 1 deletion(-) > > diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c > index 73a0046..147bddb 100644 > --- a/sound/pci/hda/patch_realtek.c > +++ b/sound/pci/hda/patch_realtek.c > @@ -4847,6 +4847,7 @@ enum { > ALC286_FIXUP_HP_GPIO_LED, > ALC280_FIXUP_HP_GPIO2_MIC_HOTKEY, > ALC280_FIXUP_HP_DOCK_PINS, > + ALC269_FIXUP_HP_DOCK_GPIO_MIC1_LED, > ALC280_FIXUP_HP_9480M, > ALC288_FIXUP_DELL_HEADSET_MODE, > ALC288_FIXUP_DELL1_MIC_NO_PRESENCE, > @@ -5388,6 +5389,16 @@ static const struct hda_fixup alc269_fixups[] = { > .chained = true, > .chain_id = ALC280_FIXUP_HP_GPIO4 > }, > + [ALC269_FIXUP_HP_DOCK_GPIO_MIC1_LED] = { > + .type = HDA_FIXUP_PINS, > + .v.pins = (const struct hda_pintbl[]) { > + { 0x1b, 0x21011020 }, /* line-out */ > + { 0x18, 0x2181103f }, /* line-in */ > + { }, > + }, > + .chained = true, > + .chain_id = ALC269_FIXUP_HP_GPIO_MIC1_LED > + }, > [ALC280_FIXUP_HP_9480M] = { > .type = HDA_FIXUP_FUNC, > .v.func = alc280_fixup_hp_9480m, > @@ -5646,7 +5657,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = { > SND_PCI_QUIRK(0x103c, 0x2256, "HP", ALC269_FIXUP_HP_GPIO_MIC1_LED), > SND_PCI_QUIRK(0x103c, 0x2257, "HP", ALC269_FIXUP_HP_GPIO_MIC1_LED), > SND_PCI_QUIRK(0x103c, 0x2259, "HP", ALC269_FIXUP_HP_GPIO_MIC1_LED), > - SND_PCI_QUIRK(0x103c, 0x225a, "HP", ALC269_FIXUP_HP_GPIO_MIC1_LED), > + SND_PCI_QUIRK(0x103c, 0x225a, "HP", ALC269_FIXUP_HP_DOCK_GPIO_MIC1_LED), > SND_PCI_QUIRK(0x103c, 0x2260, "HP", ALC269_FIXUP_HP_MUTE_LED_MIC1), > SND_PCI_QUIRK(0x103c, 0x2263, "HP", ALC269_FIXUP_HP_MUTE_LED_MIC1), > SND_PCI_QUIRK(0x103c, 0x2264, "HP", ALC269_FIXUP_HP_MUTE_LED_MIC1), > @@ -5814,6 +5825,7 @@ static const struct hda_model_fixup alc269_fixup_models[] = { > {.id = ALC269_FIXUP_HEADSET_MODE_NO_HP_MIC, .name = "headset-mode-no-hp-mic"}, > {.id = ALC269_FIXUP_LENOVO_DOCK, .name = "lenovo-dock"}, > {.id = ALC269_FIXUP_HP_GPIO_LED, .name = "hp-gpio-led"}, > + {.id = ALC269_FIXUP_HP_DOCK_GPIO_MIC1_LED, .name = "hp-dock-gpio-mic1-led"}, > {.id = ALC269_FIXUP_DELL1_MIC_NO_PRESENCE, .name = "dell-headset-multi"}, > {.id = ALC269_FIXUP_DELL2_MIC_NO_PRESENCE, .name = "dell-headset-dock"}, > {.id = ALC283_FIXUP_CHROME_BOOK, .name = "alc283-dac-wcaps"}, > -- > 2.9.3 > > _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel