Skip to contentSkip to conversation

SCSI fixes for 6.11-rc6

GIT PULL Merged James Bottomley 2 participants 2 messages Sep 7, 2024

Subsystems (2)
lore
Share & tools
lore

James Bottomley

author maintainer
#0 lore raw

Single ufs driver fix quirking around another device spec violation.

The patch is available here:

git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi.git scsi-fixes

The short changelog is:

Mary Guillemard (1):
scsi: ufs: ufs-mediatek: Add UFSHCD_QUIRK_BROKEN_LSDBS_CAP

And the diffstat:

 drivers/ufs/host/ufs-mediatek.c | 3 +++
 1 file changed, 3 insertions(+)

With full diff below.

James

---

drivers/ufs/host/ufs- renamed from drivers/ufs/host/ufs-mediatek.c +0 -0

mediatek.c
index 02c9064284e1..9a5919434c4e 100644

drivers/ufs/host/ufs-mediatek.c +3 -0
@@ -1026,6 +1026,9 @@ static int ufs_mtk_init(struct ufs_hba *hba)
 	if (host->caps & UFS_MTK_CAP_DISABLE_AH8)
 		hba->caps |= UFSHCD_CAP_HIBERN8_WITH_CLK_GATING;
 
+	if (host->caps & UFS_MTK_CAP_DISABLE_MCQ)
+		hba->quirks |= UFSHCD_QUIRK_BROKEN_LSDBS_CAP;
+
 	ufs_mtk_init_clocks(hba);
 
 	/*