diff options
author | Stanley Chu | 2020-03-18 18:40:15 +0800 |
---|---|---|
committer | Martin K. Petersen | 2020-03-26 22:07:15 -0400 |
commit | 9fc305ef8eb583b3139643f90abbe38d1c2412ce (patch) | |
tree | c349d7cdc863b96a8e8c94ae3e8e7a90cbe8f2c0 /drivers/scsi/a3000.h | |
parent | b9dc8aca2899fb494d66b6c5f50c25563d1636a7 (diff) |
scsi: ufs: make HCE polling more compact to improve initialization latency
Reduce the waiting period between each HCE (Host Controller Enable) polling
from 5 ms to 1 ms. Also increase the maximum polling times to make "total
polling time" roughly the same.
This change could make HCE initialization faster to improve latency of
ufshcd initialization, error recovery, and resume behaviors.
Link: https://lore.kernel.org/r/20200318104016.28049-7-stanley.chu@mediatek.com
Reviewed-by: Avri Altman <avri.altman@wdc.com>
Reviewed-by: Can Guo <cang@codeaurora.org>
Signed-off-by: Stanley Chu <stanley.chu@mediatek.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/a3000.h')
0 files changed, 0 insertions, 0 deletions