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>
This commit is contained in:
Shuming Fan 2022-11-16 17:03:18 +08:00 коммит произвёл Mark Brown
Родитель 39bd801d69
Коммит c7d7d4e7bb
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 24D68B725D5487D0
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -230,7 +230,7 @@ static int rt711_sdca_read_prop(struct sdw_slave *slave)
} }
/* set the timeout values */ /* set the timeout values */
prop->clk_stop_timeout = 20; prop->clk_stop_timeout = 700;
/* wake-up event */ /* wake-up event */
prop->wake_capable = 1; prop->wake_capable = 1;