Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0d01ecb3 authored by Hiren Gohel's avatar Hiren Gohel
Browse files

scsi: ufs: Increase fDeviceInit flag poll time to 5sec



Few UFS devices are taking a long time to finish its internal
initialization. UFS driver polls fDeviceInit flag which indicates
device initialization completion.

Increase this flag poll time to 5sec to cover support for those UFS
devices as well.

Change-Id: I99e1ed54d57c9fd75bbe1b22ea30553b1ce0fb83
Signed-off-by: default avatarHiren Gohel <vhiren@codeaurora.org>
parent 09540674
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -107,7 +107,7 @@
#define UFSHCD_REF_CLK_GATING_WAIT_US 0xFF /* microsecs */

/* Polling time to wait for fDeviceInit  */
#define FDEVICEINIT_COMPL_TIMEOUT 1500 /* millisecs */
#define FDEVICEINIT_COMPL_TIMEOUT 5000 /* millisecs */

#define ufshcd_toggle_vreg(_dev, _vreg, _on)				\
	({                                                              \