Skip to content

Commit c7cee3e

Browse files
Stanley Chumartinkpetersen
authored andcommitted
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/[email protected] Reviewed-by: Avri Altman <[email protected]> Reviewed-by: Asutosh Das <[email protected]> Signed-off-by: Stanley Chu <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
1 parent 3a66ae5 commit c7cee3e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/scsi/ufs/ufshcd.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6930,6 +6930,7 @@ static int ufs_get_device_desc(struct ufs_hba *hba)
69306930
* UFS_DEVICE_QUIRK_SUPPORT_EXTENDED_FEATURES enabled
69316931
*/
69326932
if (dev_info->wspecversion >= 0x310 ||
6933+
dev_info->wspecversion == 0x220 ||
69336934
(hba->dev_quirks & UFS_DEVICE_QUIRK_SUPPORT_EXTENDED_FEATURES))
69346935
ufshcd_wb_probe(hba, desc_buf);
69356936

0 commit comments

Comments
 (0)