diff options
author | Tony Lindgren <[email protected]> | 2019-09-30 08:40:01 -0700 |
---|---|---|
committer | Stephen Boyd <[email protected]> | 2019-11-04 09:56:53 -0800 |
commit | 81a41901ffd46bac6df4c95b8290ac259e0feda8 (patch) | |
tree | b752211c5877f2897cdcf9a535b22afc45657d12 /tools/perf/scripts/python | |
parent | 9982b0f69b49931b652d35f86f519be2ccfc7027 (diff) |
clk: ti: clkctrl: Fix failed to enable error with double udelay timeout
Commit 3d8598fb9c5a ("clk: ti: clkctrl: use fallback udelay approach if
timekeeping is suspended") added handling for cases when timekeeping is
suspended. But looks like we can still get occasional "failed to enable"
errors on the PM runtime resume path with udelay() returning faster than
expected.
With ti-sysc interconnect target module driver this leads into device
failure with PM runtime failing with "failed to enable" clkctrl error.
Let's fix the issue with a delay of two times the desired delay as in
often done for udelay() to account for the inaccuracy.
Fixes: 3d8598fb9c5a ("clk: ti: clkctrl: use fallback udelay approach if timekeeping is suspended")
Cc: Keerthy <[email protected]>
Cc: Tero Kristo <[email protected]>
Signed-off-by: Tony Lindgren <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Tested-by: Keerthy <[email protected]>
Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions