mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-07 13:43:51 +00:00
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 <powen.kao@mediatek.com> Link: https://lore.kernel.org/r/20230612085817.12275-5-powen.kao@mediatek.com Reviewed-by: Bart Van Assche <bvanassche@acm.org> Reviewed-by: Stanley Chu <stanley.chu@mediatek.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
95cd364ccc
commit
3c9b49be66
@ -899,6 +899,7 @@ static int ufs_mtk_init(struct ufs_hba *hba)
|
||||
|
||||
hba->quirks |= UFSHCI_QUIRK_SKIP_MANUAL_WB_FLUSH_CTRL;
|
||||
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);
|
||||
|
||||
if (host->caps & UFS_MTK_CAP_DISABLE_AH8)
|
||||
|
Loading…
Reference in New Issue
Block a user