]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - sound/pci/hda/patch_realtek.c
ALSA: hda/realtek: Improve fixup for HP Spectre x360 15-df0xxx
authorElia Devito <eliadevito@gmail.com>
Sat, 19 Jun 2021 20:41:04 +0000 (22:41 +0200)
committerTakashi Iwai <tiwai@suse.de>
Sun, 20 Jun 2021 06:48:29 +0000 (08:48 +0200)
commit434591b2a77def0e78abfa38e5d7c4bca954e68a
tree85b19fa94312371026a356fb280c57d5fa14bf18
parent50ebe56222bfa0911a932930f9229ee5995508d9
ALSA: hda/realtek: Improve fixup for HP Spectre x360 15-df0xxx

On HP Spectre x360 15-df0xxx, after system boot with plugged headset, the
headset mic are not detected.
Moving pincfg and DAC's config to single fixup function fix this.

[ The actual bug in the original code was that it used a chain to
  ALC286_FIXUP_SPEAKER2_TO_DAC1, and it contains not only the DAC1
  route fix but also another chain to ALC269_FIXUP_THINKPAD_ACPI.
  I thought the latter one is harmless for non-Thinkpad, but it
  doesn't seem so; it contains again yet another chain to
  ALC269_FIXUP_SKI_IGNORE, and this might be bad for some machines,
  including this HP machine.  -- tiwai ]

Signed-off-by: Elia Devito <eliadevito@gmail.com>
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20210619204105.5682-1-eliadevito@gmail.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c