mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 02:50:49 +09:00
FROMLIST: scsi: ufs: ufs-mediatek: Set UFSHCD_QUIRK_MCQ_BROKEN_RTC quirk
Enable UFSHCD_QUIRK_MCQ_BROKEN_RTC for MediaTek host Bug: 267974767 Link: https://lore.kernel.org/all/20230612085817.12275-5-powen.kao@mediatek.com/ Signed-off-by: Po-Wen Kao <powen.kao@mediatek.com> Change-Id: I1a9835375eacb39b167f38a6c1004c2445c3d692
This commit is contained in:
committed by
Akilesh Kailash
parent
274d5965b8
commit
6852d5ccb9
@@ -902,6 +902,7 @@ static int ufs_mtk_init(struct ufs_hba *hba)
|
|||||||
|
|
||||||
hba->quirks |= UFSHCI_QUIRK_SKIP_MANUAL_WB_FLUSH_CTRL;
|
hba->quirks |= UFSHCI_QUIRK_SKIP_MANUAL_WB_FLUSH_CTRL;
|
||||||
hba->quirks |= UFSHCD_QUIRK_MCQ_BROKEN_INTR;
|
hba->quirks |= UFSHCD_QUIRK_MCQ_BROKEN_INTR;
|
||||||
|
hba->quirks |= UFSHCD_QUIRK_MCQ_BROKEN_RTC;
|
||||||
hba->vps->wb_flush_threshold = UFS_WB_BUF_REMAIN_PERCENT(80);
|
hba->vps->wb_flush_threshold = UFS_WB_BUF_REMAIN_PERCENT(80);
|
||||||
|
|
||||||
if (host->caps & UFS_MTK_CAP_DISABLE_AH8)
|
if (host->caps & UFS_MTK_CAP_DISABLE_AH8)
|
||||||
|
|||||||
Reference in New Issue
Block a user