]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: rt5682: Avoid the unexpected IRQ event during going to suspend
authorDerek Fang <derek.fang@realtek.com>
Tue, 9 Nov 2021 09:54:49 +0000 (17:54 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 12 Nov 2021 18:16:42 +0000 (18:16 +0000)
commit845d1e6c308c173d53db82e17c1a76e7d7b54482
treed54b7107e36abfca50d90243bec6fa8bac01cf0d
parentf3990609d017272a4771b992b322d15240e7c0f7
ASoC: rt5682: Avoid the unexpected IRQ event during going to suspend

When the system suspends, the codec driver will set SAR to
power saving mode if a headset is plugged in.
There is a chance to generate an unexpected IRQ, and leads to
issues after resuming such as noise from OMTP type headsets.

Signed-off-by: Derek Fang <derek.fang@realtek.com>
Link: https://lore.kernel.org/r/20211109095450.12950-1-derek.fang@realtek.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5682.c