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)
committerTakashi Iwai <tiwai@suse.de>
Thu, 4 Jul 2019 13:09:06 +0000 (15:09 +0200)
commitd07a9a4f66e944fcc900812cbc2f6817bde6a43d
tree2ac79b5b8d74ea15a6280d231841d72708d7144f
parentb5c21c84705dbd96a0fff930d33022a17910b4f4
ALSA: hda/realtek - Headphone Mic can't record after S3

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>
sound/pci/hda/patch_realtek.c