]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ALSA: hda/realtek - Fix lose hp_pins for disable auto mute
authorKailang Yang <kailang@realtek.com>
Fri, 1 Feb 2019 08:51:10 +0000 (16:51 +0800)
committerTakashi Iwai <tiwai@suse.de>
Fri, 1 Feb 2019 10:19:15 +0000 (11:19 +0100)
commitd561aa0a70bb2e1dd85fde98b6a5561e4175ac3e
treefc1402bec4905c7d0bcc8b03f1183e2d2ece923e
parent89e3a5682edaa4e5bb334719afb180256ac7bf78
ALSA: hda/realtek - Fix lose hp_pins for disable auto mute

When auto_mute = no or spec->suppress_auto_mute = 1, cfg->hp_pins will
lose value.

Add this patch to find hp_pins value.
I add fixed for ALC282 ALC225 ALC256 ALC294 and alc_default_init()
alc_default_shutup().

Signed-off-by: Kailang Yang <kailang@realtek.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c