Skip to content

Commit 91cad91

Browse files
ptr324martinkpetersen
authored andcommitted
scsi: ufs: host: mediatek: Fix unbalanced IRQ enable issue
Resolve the issue of unbalanced IRQ enablement by setting the 'is_mcq_intr_enabled' flag after the first successful IRQ enablement. Ensure proper tracking of the IRQ state and prevent potential mismatches in IRQ handling. Signed-off-by: Peter Wang <peter.wang@mediatek.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
1 parent d73836c commit 91cad91

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/ufs/host/ufs-mediatek.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2190,6 +2190,7 @@ static int ufs_mtk_config_mcq_irq(struct ufs_hba *hba)
21902190
return ret;
21912191
}
21922192
}
2193+
host->is_mcq_intr_enabled = true;
21932194

21942195
return 0;
21952196
}

0 commit comments

Comments
 (0)