diff options
author | Shuming Fan <shumingf@realtek.com> | 2022-11-16 12:03:18 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-11-16 13:50:11 +0300 |
commit | c7d7d4e7bb1290cc473610b0bb96d9fa606d00e7 (patch) | |
tree | b2bd87b34da7e4e6ff1c9e3053e7a3b5de4cdaf3 /sound | |
parent | 39bd801d6908900e9ab0cdc2655150f95ddd4f1a (diff) | |
download | linux-c7d7d4e7bb1290cc473610b0bb96d9fa606d00e7.tar.xz |
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>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/codecs/rt711-sdca-sdw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/rt711-sdca-sdw.c b/sound/soc/codecs/rt711-sdca-sdw.c index 4120842fe699..88a8392a58ed 100644 --- a/sound/soc/codecs/rt711-sdca-sdw.c +++ b/sound/soc/codecs/rt711-sdca-sdw.c @@ -230,7 +230,7 @@ static int rt711_sdca_read_prop(struct sdw_slave *slave) } /* set the timeout values */ - prop->clk_stop_timeout = 20; + prop->clk_stop_timeout = 700; /* wake-up event */ prop->wake_capable = 1; |