diff options
| author | Adrian Hunter <[email protected]> | 2021-10-02 18:45:50 +0300 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2021-10-04 22:20:38 -0400 |
| commit | 87bf6a6bbe8bd62b5924b00161d28a0d6df151ca (patch) | |
| tree | 2a3a549439028fbd53ddb96c7e51309c5d21ef9a /tools/perf/scripts/python/bin | |
| parent | 54a4045342a8bffabde1827bfd6d86b63163111d (diff) | |
scsi: ufs: core: Do not exit ufshcd_err_handler() unless operational or dead
Callers of ufshcd_err_handler() expect it to return in an operational
state. However, the code does not check the state before exiting.
Add a check for the state and perform retries until either success or the
maximum number of retries is reached.
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Avri Altman <[email protected]>
Signed-off-by: Adrian Hunter <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions