]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5701255aea1c814b45d4f71a6fb9e9319c0d0bbd
treeaa764f1e8b59aa4c4d6131eb3996b8c878440614
parent436eb28952fdee191d1ec02a71e2422cf7953d65
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