summaryrefslogtreecommitdiff
path: root/include/ufs
diff options
context:
space:
mode:
authorEd Tsai <ed.tsai@mediatek.com>2024-10-08 14:59:42 +0800
committerMartin K. Petersen <martin.petersen@oracle.com>2024-11-06 20:42:17 -0500
commit7670e74ff31939acd792ff59fa83bc73d040dd8e (patch)
tree19d30769ddb107d8ad0c4cbd54c5f02eb6900620 /include/ufs
parent4b3b5815bcf3312539be569c2ffe702aa1f42153 (diff)
scsi: ufs: ufs-mediatek: Configure individual LU queue flags
Previously, ufs vops config_scsi_dev was removed because there were no users. ufs-mediatek needs it to configure the queue flags for each LU individually. Therefore, bring it back and customize the queue flag as required. [mkp: fixed typo] Signed-off-by: Ed Tsai <ed.tsai@mediatek.com> Link: https://lore.kernel.org/r/20241008065950.23431-1-ed.tsai@mediatek.com Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'include/ufs')
-rw-r--r--include/ufs/ufshcd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ufs/ufshcd.h b/include/ufs/ufshcd.h
index 9ea2a7411bb5..d7aca9e61684 100644
--- a/include/ufs/ufshcd.h
+++ b/include/ufs/ufshcd.h
@@ -386,6 +386,7 @@ struct ufs_hba_variant_ops {
int (*get_outstanding_cqs)(struct ufs_hba *hba,
unsigned long *ocqs);
int (*config_esi)(struct ufs_hba *hba);
+ void (*config_scsi_dev)(struct scsi_device *sdev);
};
/* clock gating state */