Skip to content

Commit 3c9b49b

Browse files
powen-kao-mtkmartinkpetersen
authored andcommitted
scsi: ufs: ufs-mediatek: Set UFSHCD_QUIRK_MCQ_BROKEN_RTC quirk
Enable UFSHCD_QUIRK_MCQ_BROKEN_RTC for MediaTek host. Signed-off-by: Po-Wen Kao <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Bart Van Assche <[email protected]> Reviewed-by: Stanley Chu <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
1 parent 95cd364 commit 3c9b49b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/ufs/host/ufs-mediatek.c

+1
Original file line numberDiff line numberDiff line change
@@ -899,6 +899,7 @@ static int ufs_mtk_init(struct ufs_hba *hba)
899899

900900
hba->quirks |= UFSHCI_QUIRK_SKIP_MANUAL_WB_FLUSH_CTRL;
901901
hba->quirks |= UFSHCD_QUIRK_MCQ_BROKEN_INTR;
902+
hba->quirks |= UFSHCD_QUIRK_MCQ_BROKEN_RTC;
902903
hba->vps->wb_flush_threshold = UFS_WB_BUF_REMAIN_PERCENT(80);
903904

904905
if (host->caps & UFS_MTK_CAP_DISABLE_AH8)

0 commit comments

Comments
 (0)