ALSA: hda/realtek - Headphone Mic can't record after S3
authorKailang Yang <kailang@realtek.com>
Thu, 4 Jul 2019 08:02:10 +0000 (16:02 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 14 Jul 2019 06:11:16 +0000 (08:11 +0200)
commitff75e5f41e8811545d1ff216330088b59ae381e5
tree276d8f85c38373116ad194fd98532756b27144bf
parent87c3262b00d88063d266b31752054e7b03a49102
ALSA: hda/realtek - Headphone Mic can't record after S3

commit d07a9a4f66e944fcc900812cbc2f6817bde6a43d upstream.

Dell headset mode platform with ALC236.
It doesn't recording after system resume from S3.
S3 mode was deep. s2idle was not has this issue.
S3 deep will cut of codec power. So, the register will back to default
after resume back.
This patch will solve this issue.

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