]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: ufs-mediatek: Fix incorrect time to wait link status
authorStanley Chu <stanley.chu@mediatek.com>
Sun, 9 Aug 2020 05:57:02 +0000 (13:57 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 18 Aug 2020 01:53:37 +0000 (21:53 -0400)
commitfb40c93763736e61c56b37b662eef110c70ad2a9
tree85395608116653c9969b6094b930db7b1ea5c0b1
parentc1dadd710687a7b5c966a19fd52ff8788b5c7822
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: e41a0fd28789 ("scsi: ufs-mediatek: Do not gate clocks if auto-hibern8 is not entered yet")
Reviewed-by: Avri Altman <avri.altman@wdc.com>
Signed-off-by: Stanley Chu <stanley.chu@mediatek.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/ufs/ufs-mediatek.c