diff options
author | Peter Wang <peter.wang@mediatek.com> | 2023-12-21 14:04:16 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2024-01-24 05:06:06 +0300 |
commit | e0dc13e5a3cb9de98fd00b7718738f9eef4bd0ce (patch) | |
tree | bd4138880f3df8c17ac4a6f22b39954aa35b5eb1 /drivers/ufs/host/ufs-mediatek.h | |
parent | 468b3e0a3bca659bff6ddc48d5baeddfd678be7b (diff) | |
download | linux-e0dc13e5a3cb9de98fd00b7718738f9eef4bd0ce.tar.xz |
scsi: ufs: ufs-mediatek: Disable MCQ IRQ when clock off
Disable MCQ IRQ when clock is off. This is same as legacy mode.
Signed-off-by: Peter Wang <peter.wang@mediatek.com>
Link: https://lore.kernel.org/r/20231221110416.16176-4-peter.wang@mediatek.com
Reviewed-by: Chun-Hung Wu <chun-hung.wu@mediatek.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/ufs/host/ufs-mediatek.h')
-rw-r--r-- | drivers/ufs/host/ufs-mediatek.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/ufs/host/ufs-mediatek.h b/drivers/ufs/host/ufs-mediatek.h index 38eab95b0f79..d0673f1021ec 100644 --- a/drivers/ufs/host/ufs-mediatek.h +++ b/drivers/ufs/host/ufs-mediatek.h @@ -183,6 +183,7 @@ struct ufs_mtk_host { u32 ip_ver; bool mcq_set_intr; + bool is_mcq_intr_enabled; int mcq_nr_intr; struct ufs_mtk_mcq_intr_info mcq_intr_info[UFSHCD_MAX_Q_NR]; }; |