scsi: ufs-qcom: Disable HCI before HW reset
Disable ufshci before HW reset to avoid potential issues. Change-Id: I94f54bffa1224c5b621684b6ba05feead66574f9 Signed-off-by: Ziqi Chen <quic_ziqichen@quicinc.com>
This commit is contained in:
@@ -3763,6 +3763,9 @@ static int ufs_qcom_device_reset(struct ufs_hba *hba)
|
||||
if (!host->device_reset)
|
||||
return -EOPNOTSUPP;
|
||||
|
||||
/* disable hba before device reset */
|
||||
ufshcd_hba_stop(hba);
|
||||
|
||||
/*
|
||||
* The UFS device shall detect reset pulses of 1us, sleep for 10us to
|
||||
* be on the safe side.
|
||||
|
Reference in New Issue
Block a user