summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorBalaji Selvanathan <[email protected]>2026-04-27 14:56:11 +0530
committerCasey Connolly <[email protected]>2026-05-18 11:04:14 +0200
commit6d2bcb6398cf3b7caa9e80add7c49e28a1e9a6c6 (patch)
tree9ebc72cc7f551b5828241cdbb092f1890d5d8a27 /drivers
parent83edbe9426a4f4b22d118c9b11d82dfb3cb472ee (diff)
ufs: qcom: Remove redundant POST_CHANGE clock setup call
The ufs_qcom_init() function was calling ufs_qcom_setup_clocks() with POST_CHANGE twice. The first call after setting PA_TXHSADAPTTYPE correctly enables the device reference clock. The second call after ufs_qcom_advertise_quirks() is redundant as the clock is already enabled. Signed-off-by: Balaji Selvanathan <[email protected]> Reviewed-by: Sumit Garg <[email protected]> Reviewed-by: Neha Malcom Francis <[email protected]> Reviewed-by: Casey Connolly <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Casey Connolly <[email protected]>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/ufs/ufs-qcom.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/ufs/ufs-qcom.c b/drivers/ufs/ufs-qcom.c
index ae33f62fbee..f5f5a6eb110 100644
--- a/drivers/ufs/ufs-qcom.c
+++ b/drivers/ufs/ufs-qcom.c
@@ -605,7 +605,6 @@ static int ufs_qcom_init(struct ufs_hba *hba)
priv->hw_ver.step);
ufs_qcom_advertise_quirks(hba);
- ufs_qcom_setup_clocks(hba, true, POST_CHANGE);
return 0;
}