scsi: ufs: core: Reduce the clock scaling latency
authorBart Van Assche <bvanassche@acm.org>
Thu, 8 Dec 2022 23:43:56 +0000 (15:43 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 30 Dec 2022 21:17:33 +0000 (21:17 +0000)
commit2000bc309703b34ab776c7c00dfb5865721eb257
treee005db59c1ba225c8d697bc1922c5ef4f0286423
parentee8c88cab4afbd5ee10a127d6cbecd6b200185a5
scsi: ufs: core: Reduce the clock scaling latency

Wait at most 20 ms before rechecking the doorbells instead of waiting for a
potentially long time between doorbell checks.

Reviewed-by: Avri Altman <avri.altman@wdc.com>
Reviewed-by: Stanley Chu <stanley.chu@mediatek.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/ufs/core/ufshcd.c