diff mbox series

[2/4] scsi: ufs-mediatek: Fix HOST_PA_TACTIVATE quirk

Message ID 20200908064507.30774-3-stanley.chu@mediatek.com
State New
Headers show
Series scsi: ufs-mediatek: Fixes for kernel v5.10 | expand

Commit Message

Stanley Chu Sept. 8, 2020, 6:45 a.m. UTC
Simply add HOST_PA_TACTIVATE quirk back since it was incorrectly
removed before.

Fixes: 47d054580a75 ("scsi: ufs-mediatek: fix HOST_PA_TACTIVATE quirk for Samsung UFS Devices")
Signed-off-by: Stanley Chu <stanley.chu@mediatek.com>

---
 drivers/scsi/ufs/ufs-mediatek.c | 6 ------
 1 file changed, 6 deletions(-)

-- 
2.18.0

Comments

Avri Altman Sept. 19, 2020, 7:53 a.m. UTC | #1
> 

> Simply add HOST_PA_TACTIVATE quirk back since it was incorrectly

> removed before.

> 

> Fixes: 47d054580a75 ("scsi: ufs-mediatek: fix HOST_PA_TACTIVATE quirk for

> Samsung UFS Devices")

> Signed-off-by: Stanley Chu <stanley.chu@mediatek.com>

Reviewed-by: Avri Altman <avri.altman@wdc.com>
diff mbox series

Patch

diff --git a/drivers/scsi/ufs/ufs-mediatek.c b/drivers/scsi/ufs/ufs-mediatek.c
index 7487b25fa651..887c03e8bcc0 100644
--- a/drivers/scsi/ufs/ufs-mediatek.c
+++ b/drivers/scsi/ufs/ufs-mediatek.c
@@ -672,13 +672,7 @@  static int ufs_mtk_apply_dev_quirks(struct ufs_hba *hba)
 
 static void ufs_mtk_fixup_dev_quirks(struct ufs_hba *hba)
 {
-	struct ufs_dev_info *dev_info = &hba->dev_info;
-	u16 mid = dev_info->wmanufacturerid;
-
 	ufshcd_fixup_dev_quirks(hba, ufs_mtk_dev_fixups);
-
-	if (mid == UFS_VENDOR_SAMSUNG)
-		hba->dev_quirks &= ~UFS_DEVICE_QUIRK_HOST_PA_TACTIVATE;
 }
 
 /**