]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: ufs: Relax the condition of UFSHCI_QUIRK_SKIP_MANUAL_WB_FLUSH_CTRL
authorStanley Chu <stanley.chu@mediatek.com>
Tue, 22 Dec 2020 07:29:05 +0000 (15:29 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 6 Jan 2021 02:58:30 +0000 (21:58 -0500)
commit2db27cedfc862fd1847c770084d40ba30d7d1af3
tree028f18d7f461a6f3542bfff413535029653a909d
parentd34320fa367f9465295d8061556a06a97565772e
scsi: ufs: Relax the condition of UFSHCI_QUIRK_SKIP_MANUAL_WB_FLUSH_CTRL

UFSHCI_QUIRK_SKIP_MANUAL_WB_FLUSH_CTRL is intended to skip enabling
fWriteBoosterBufferFlushEn while WriteBooster is initializing.  Therefore
it is better to apply the checking during WriteBooster initialization only.

Link: https://lore.kernel.org/r/20201222072905.32221-3-stanley.chu@mediatek.com
Reviewed-by: Can Guo <cang@codeaurora.org>
Signed-off-by: Stanley Chu <stanley.chu@mediatek.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/ufs/ufshcd.c