scsi: ufs-qcom: update delay between assert/deassert in full reset
The hardware requirement for delay between assert/deassert is at least 3-4 sleep clock (32.7KHz) cycles, which comes to ~125us (4/32768). To be on the safe side add 200us delay. Change-Id: Ib9d27fe7bbf6107b1249b3719f63efdbff4b3795 Signed-off-by: Venkat Gopalakrishnan <venkatg@codeaurora.org>
This commit is contained in:
parent
51ab99448d
commit
6a714c1bf8
1 changed files with 6 additions and 2 deletions
|
@ -791,8 +791,12 @@ static int ufs_qcom_full_reset(struct ufs_hba *hba)
|
|||
goto out;
|
||||
}
|
||||
|
||||
/* Very small delay, per the documented requirement */
|
||||
usleep_range(1, 2);
|
||||
/*
|
||||
* The hardware requirement for delay between assert/deassert
|
||||
* is at least 3-4 sleep clock (32.7KHz) cycles, which comes to
|
||||
* ~125us (4/32768). To be on the safe side add 200us delay.
|
||||
*/
|
||||
usleep_range(200, 210);
|
||||
|
||||
ret = reset_control_deassert(hba->core_reset);
|
||||
if (ret)
|
||||
|
|
Loading…
Add table
Reference in a new issue