diff options
| author | Stanley Chu <[email protected]> | 2020-06-01 18:46:43 +0800 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2020-06-15 23:06:39 -0400 |
| commit | 9006e3986f6689897c2f1ede2671656b1cb41582 (patch) | |
| tree | e8d364cb19aef2f0744f7776758422df997c347e /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | fb43337cd4cff6639b174e3b6766e6eade523836 (diff) | |
scsi: ufs-mediatek: Do not gate clocks if auto-hibern8 is not entered yet
There is a chance that link enters hibern8 via auto-hibern8 scheme during
the clock-gating flow. Clocks shall not be gated if link is still active
otherwise host or device may hang.
Fix this by returning error code to the caller __ufshcd_setup_clocks() to
skip gating clocks there if link is not confirmed in hibern8 state yet.
Also allow some waiting time for the hibern8 state transition.
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Andy Teng <[email protected]>
Signed-off-by: Stanley Chu <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions