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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 Sep 2022 09:30:01 +0000 (11:30 +0200)
commitc501891293747411ecbbf59a0d0b3a0fb82e11a6
tree6bd96a893ed62efea98bc62baa62fdbd1281997f
parent5a7a5b2edac4b05abd744eeaebda46d9dacd952d
scsi: ufs: core: Reduce the power mode change timeout

[ Upstream commit 8f2c96420c6ec3dcb18c8be923e24c6feaa5ccf6 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/scsi/ufs/ufshcd.c