]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: ufs: ufs-mediatek: Disable reset confirm feature by UniPro
authorPo-Wen Kao <powen.kao@mediatek.com>
Thu, 23 Jun 2022 03:50:49 +0000 (11:50 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 28 Jun 2022 03:17:36 +0000 (23:17 -0400)
commit81bcbdbeac43c548b73cc28aadc7c5ae83dce8cd
tree45904f522038a4a3f883bb9c6c6ab85aef15af26
parent8fb90d54397065d2938ab3b2711e4798c1a4b1b7
scsi: ufs: ufs-mediatek: Disable reset confirm feature by UniPro

In MediaTek UFS platforms, UniPro will not return reset confirm if it is in
POWERDOWN state thus hang issue may happen while disabling UFSHCI. Simply
disable this feature before UniPro leaves POWERDOWN state.

Link: https://lore.kernel.org/r/20220623035052.18802-6-stanley.chu@mediatek.com
Reviewed-by: Stanley Chu <stanley.chu@mediatek.com>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Po-Wen Kao <powen.kao@mediatek.com>
Signed-off-by: Stanley Chu <stanley.chu@mediatek.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/ufs/host/ufs-mediatek.c