aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorPing-Ke Shih <[email protected]>2020-04-22 11:46:03 +0800
committerKalle Valo <[email protected]>2020-04-23 07:47:23 +0300
commitfd9ead385102652b43f628ca700810d343c52437 (patch)
tree671c42b33ed3d8eecd30546118d21b91295ee78c /tools/perf/scripts/python/sched-migration.py
parent4e223a5f5342fab01ccebf87714401f559dcc791 (diff)
rtw88: decompose while(1) loop of power sequence polling command
The power polling command is one kind of power sequence commands. It's used to check hardware situation, and subsequent comamnds will be executed if hardware is ready. A special case is PCIE must toggle BIT_PFM_WOWL and try again if first try is failed. In order to reduce indentation to understand the code easier, move polling part to a separate function. Then, the 'while (1)...loop' is replaced by two statements to do first try and retry. Signed-off-by: Ping-Ke Shih <[email protected]> Signed-off-by: Yan-Hsuan Chuang <[email protected]> Signed-off-by: Kalle Valo <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions