diff options
author | Anand Moon <[email protected]> | 2020-07-20 17:35:02 +0000 |
---|---|---|
committer | Vinod Koul <[email protected]> | 2020-08-23 19:36:37 +0530 |
commit | a85643d47d111730f6ad7cf0f5736fcd4164c14b (patch) | |
tree | f334dfffd5450bd874ff412b1b9f4040d8e20264 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5 (diff) |
phy: samsung: Use readl_poll_timeout function
Instead of a busy waiting while loop using udelay
use readl_poll_timeout function to check the condition
is met or timeout occurs in crport_handshake function.
readl_poll_timeout is called in non atomic context so
it safe to sleep until the condition is met.
Signed-off-by: Anand Moon <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions