]> 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)
commit3748d523158e89bef8a9e8f87a0cf0f3985f048a
treefc1402bec4905c7d0bcc8b03f1183e2d2ece923e
parent9d99ae2335c9aa6adff1e3535149ab22875f1b38
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