]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: rt711-sdca: fix the latency time of clock stop prepare state machine transitions
authorShuming Fan <shumingf@realtek.com>
Wed, 16 Nov 2022 09:03:18 +0000 (17:03 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 16 Nov 2022 10:50:11 +0000 (10:50 +0000)
commitc0a11894df2ca788cfe54e8ab674723f84537f9f
treeb2bd87b34da7e4e6ff1c9e3053e7a3b5de4cdaf3
parentfce96e2f29b1bdf47baa627506a4e063db5ff816
ASoC: rt711-sdca: fix the latency time of clock stop prepare state machine transitions

Due to the hardware behavior, it takes some time for CBJ detection/impedance sensing/de-bounce.
The ClockStop_NotFinished flag will be raised until these functions are completed.
In ClockStopMode0 mode case, the SdW controller might check this flag from D3 to D0 when the
jack detection interrupt happened.

Signed-off-by: Shuming Fan <shumingf@realtek.com>
Link: https://lore.kernel.org/r/20221116090318.5017-1-shumingf@realtek.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt711-sdca-sdw.c