summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPeter Wang <peter.wang@mediatek.com>2025-09-24 12:43:28 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2025-10-22 04:36:46 +0300
commit9b2b03b36168bcda298546b121d6ecc530d01d25 (patch)
treed0f6fd448d4ed436a08cf6790d2fb0625922171b /include
parent014de20bb36ba03e0e0b0a7e0a1406ab900c9fda (diff)
downloadlinux-9b2b03b36168bcda298546b121d6ecc530d01d25.tar.xz
scsi: ufs: host: mediatek: Remove duplicate function
Remove the duplicate ufs_mtk_us_to_ahit() function in the UFS Mediatek driver and export the existing ufshcd_us_to_ahit() function for shared use. This change reduces redundancy and maintains consistency across the codebase. Signed-off-by: Peter Wang <peter.wang@mediatek.com> Reviewed-by: Bart Van Assche <bvanassche@acm.org> Acked-by: Chun-Hung Wu <chun-hung.wu@mediatek.com> Link: https://patch.msgid.link/20250924094527.2992256-7-peter.wang@mediatek.com Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'include')
-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 ce7301d63c5c..4b3a8daf8e0b 100644
--- a/include/ufs/ufshcd.h
+++ b/include/ufs/ufshcd.h
@@ -1488,5 +1488,6 @@ int ufshcd_update_ee_control(struct ufs_hba *hba, u16 *mask,
const u16 *other_mask, u16 set, u16 clr);
void ufshcd_force_error_recovery(struct ufs_hba *hba);
void ufshcd_pm_qos_update(struct ufs_hba *hba, bool on);
+u32 ufshcd_us_to_ahit(unsigned int timer);
#endif /* End of Header */