ALSA: hda/realtek - Fix speaker no sound after system resume
authorKailang Yang <kailang@realtek.com>
Wed, 14 Mar 2018 08:08:57 +0000 (16:08 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 Mar 2018 16:24:30 +0000 (18:24 +0200)
commitdc9d942e45c0ee184846d5dfc33012b3939ad5b3
tree1b41ad654614f550d7a1aa3cf4d2d8a9225737ad
parent8d49f5625eda69690929622593bc3a3d8efef660
ALSA: hda/realtek - Fix speaker no sound after system resume

commit 88d42b2b45d7208cc872c2c9dec0b1ae6c6008d7 upstream.

It will have a chance speaker no sound after system resume.
To toggle NID 0x53 index 0x2 bit 15 will solve this issue.
This usage will also suitable with ALC256.

Fixes: 4a219ef8f370 ("ALSA: hda/realtek - Add ALC256 HP depop function")
Signed-off-by: Kailang Yang <kailang@realtek.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/pci/hda/patch_realtek.c