diff options
author | Can Guo <[email protected]> | 2021-02-23 21:36:47 -0800 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2021-03-04 17:21:24 -0500 |
commit | aa53f580e67b49ec5f4d9bd1de81eb9eb0dc079f (patch) | |
tree | 00fff1f8966b1d934c8c96b479bf89f13cccdd68 /drivers/usb/cdns3 | |
parent | dbdbb81bde2440d9a1653acf1333c6c812f9c4b0 (diff) |
scsi: ufs: Minor adjustments to error handling
In error handling prepare stage, after SCSI requests are blocked, do a
down/up_write(clk_scaling_lock) to clean up the queuecommand() path.
Meanwhile, stop eeh_work in case it disturbs error recovery. Moreover,
reset ufshcd_state at the entrance of ufshcd_probe_hba(), since it may be
called multiple times during error recovery.
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Avri Altman <[email protected]>
Signed-off-by: Can Guo <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3')
0 files changed, 0 insertions, 0 deletions