OSDN Git Service

scsi: ufs: core: Reduce the power mode change timeout
authorBart Van Assche <bvanassche@acm.org>
Thu, 11 Aug 2022 23:43:49 +0000 (16:43 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Sat, 20 Aug 2022 01:34:36 +0000 (21:34 -0400)
commit8f2c96420c6ec3dcb18c8be923e24c6feaa5ccf6
treeaa764f1e8b59aa4c4d6131eb3996b8c878440614
parent27883605cf97f3c500962fa02f241598fe11744b
scsi: ufs: core: Reduce the power mode change timeout

The current power mode change timeout (180 s) is so large that it can cause
a watchdog timer to fire. Reduce the power mode change timeout to 10
seconds.

Link: https://lore.kernel.org/r/20220811234401.1957911-1-bvanassche@acm.org
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