Commit 45f61ca7 authored by Stanley Chu's avatar Stanley Chu Committed by Todd Kjos
Browse files

UPSTREAM: scsi: ufs-mediatek: Fix incorrect time to wait link status

Fix incorrect calculation of "ms" based waiting time in function
ufs_mtk_setup_clocks().

Link: https://lore.kernel.org/r/20200809055702.20140-1-stanley.chu@mediatek.com


Fixes: 9006e398 ("scsi: ufs-mediatek: Do not gate clocks if auto-hibern8 is not entered yet")
Reviewed-by: default avatarAvri Altman <avri.altman@wdc.com>
Signed-off-by: default avatarStanley Chu <stanley.chu@mediatek.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>

Bug: 166747994
(cherry picked from commit 215d3267)
Change-Id: I705ec82183efd898629e6a77952bc5e0c4fdceb1
Signed-off-by: default avatarStanley Chu <stanley.chu@mediatek.com>
parent 0c9580fc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment