Commit cbebadf5 authored by John Stultz's avatar John Stultz
Browse files

drivers: ufs: Extend the delay after reset to wait for some slower chips



We've seen issues with some THG based UFS chips, where
after reset the LUNs don't always enumerate properly.

After some debugging, we found that extending the mdelay
here seems to resolve the issue by giving the chips enough
time to complete reset.

Change-Id: I848f810b2438ed6ad3d33db614c61d2cef9ac400
Signed-off-by: default avatarJohn Stultz <john.stultz@linaro.org>
parent c33aa45f
......@@ -704,7 +704,7 @@ static void ufs_enum(void)
ufs_verify_ready();
ufs_set_flag(FLAG_DEVICE_INIT);
mdelay(100);
mdelay(200);
/* dump available LUNs */
for (i = 0; i < UFS_MAX_LUNS; i++) {
ufs_read_capacity(i, &blk_num, &blk_size);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment