diff options
author | Chin-Yen Lee <timlee@realtek.com> | 2021-07-28 09:43:31 +0800 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2021-08-21 22:19:14 +0300 |
commit | 02a55c0009a55b204e1e5c17295431f0a9e7d3b6 (patch) | |
tree | 371c83af30d2e948bf74e226d4dd667e2192e210 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 8d52b46caf6846b549198c3fca7a1e3312322c12 (diff) |
rtw88: use read_poll_timeout instead of fixed sleep
In current wow flow, driver calls rtw_wow_fw_start and sleep for 100ms,
to wait firmware finish preliminary work and then update the value of
WOWLAN_WAKE_REASON register to zero. But later firmware will start wow
function with power-saving mode, in which mode the value of
WOWLAN_WAKE_REASON register is 0xea. So driver may get 0xea value and
return fail. We use read_poll_timeout instead to check the value to avoid
this issue.
Signed-off-by: Chin-Yen Lee <timlee@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20210728014335.8785-2-pkshih@realtek.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions