]> git.ipfire.org Git - thirdparty/linux.git/commit - sound/pci/hda/patch_realtek.c
ALSA: hda/realtek - Set GPIO3 to default at S4 state for Thinkpad with ALC1318
authorKailang Yang <kailang@realtek.com>
Tue, 30 Apr 2024 09:15:53 +0000 (17:15 +0800)
committerTakashi Iwai <tiwai@suse.de>
Tue, 30 Apr 2024 16:34:53 +0000 (18:34 +0200)
commit1e707769df072757bdcafab158bb159ead73daa4
tree054565aef9c6c0fe99c6afd1ca6d129501c050b9
parentc158cf914713efc3bcdc25680c7156c48c12ef6a
ALSA: hda/realtek - Set GPIO3 to default at S4 state for Thinkpad with ALC1318

There is a chance of damaging the IC when S4 resume.
Add safe mode for no stream to disable GPIO3.
Thinkpad with ALC1318 platform need to add this workaround.

Signed-off-by: Kailang Yang <kailang@realtek.com>
Link: https://lore.kernel.org/r/a853dc4f0a4e412381d5f60565181247@realtek.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c