]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: ufs: Allow WriteBooster on UFS 2.2 devices
authorStanley Chu <stanley.chu@mediatek.com>
Fri, 22 May 2020 08:32:10 +0000 (16:32 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 27 May 2020 01:14:06 +0000 (21:14 -0400)
commita8206ef48a68366e493d5730fd293fb9d0ff026c
tree70af21a1996af1f2db0d965a7a9ccbfdd014ceb8
parenta146f5cf727e140f59dad1b7dd1a2dd89ea61daa
scsi: ufs: Allow WriteBooster on UFS 2.2 devices

According to the UFS specification, WriteBooster is officially supported by
UFS 2.2.

Since UFS 2.2 specification has been finalized in JEDEC and such devices
have also showed up in the market, modify the checking rule for
ufshcd_wb_probe() to allow these devices to enable WriteBooster.

Link: https://lore.kernel.org/r/20200522083212.4008-3-stanley.chu@mediatek.com
Reviewed-by: Avri Altman <avri.altman@wdc.com>
Reviewed-by: Asutosh Das <asutoshd@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