diff options
| author | Anand Moon <linux.amoon@gmail.com> | 2020-07-20 17:35:02 +0000 |
|---|---|---|
| committer | Vinod Koul <vkoul@kernel.org> | 2020-08-23 19:36:37 +0530 |
| commit | a85643d47d111730f6ad7cf0f5736fcd4164c14b (patch) | |
| tree | f334dfffd5450bd874ff412b1b9f4040d8e20264 /tools/perf/scripts/python/flamegraph.py | |
| parent | Linux 5.9-rc1 (diff) | |
| download | linux-a85643d47d111730f6ad7cf0f5736fcd4164c14b.tar.gz linux-a85643d47d111730f6ad7cf0f5736fcd4164c14b.zip | |
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 <linux.amoon@gmail.com>
Link: https://lore.kernel.org/r/20200720173502.542-1-linux.amoon@gmail.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
