Skip to content

Commit c7d7d4e

Browse files
shumingfanbroonie
authored andcommitted
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 39bd801 commit c7d7d4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sound/soc/codecs/rt711-sdca-sdw.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ static int rt711_sdca_read_prop(struct sdw_slave *slave)
230230
}
231231

232232
/* set the timeout values */
233-
prop->clk_stop_timeout = 20;
233+
prop->clk_stop_timeout = 700;
234234

235235
/* wake-up event */
236236
prop->wake_capable = 1;

0 commit comments

Comments
 (0)