]> git.baikalelectronics.ru Git - kernel.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)
commit9bcb0cba52b4a83002cb40afb9d7fc072ecc2121
treefc1402bec4905c7d0bcc8b03f1183e2d2ece923e
parent2a00c0ef77770e319a82d92185b0ef01f1df33a5
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