Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

phy: qcom-qmp-ufs: Rename qmp_ufs_enable and qmp_ufs_power_on

Rename qmp_ufs_enable to qmp_ufs_power_on and qmp_ufs_power_on to
qmp_ufs_phy_calibrate to better reflect their functionality. Also
update function calls and structure assignments accordingly.

Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Co-developed-by: Ram Kumar Dwivedi <quic_rdwivedi@quicinc.com>
Signed-off-by: Ram Kumar Dwivedi <quic_rdwivedi@quicinc.com>
Signed-off-by: Nitin Rawat <quic_nitirawa@quicinc.com>
Link: https://lore.kernel.org/r/20250526153821.7918-4-quic_nitirawa@quicinc.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

Nitin Rawat and committed by
Vinod Koul
dbd20821 399c75b6

+4 -4
+4 -4
drivers/phy/qualcomm/phy-qcom-qmp-ufs.c
··· 1838 1838 return 0; 1839 1839 } 1840 1840 1841 - static int qmp_ufs_power_on(struct phy *phy) 1841 + static int qmp_ufs_phy_calibrate(struct phy *phy) 1842 1842 { 1843 1843 struct qmp_ufs *qmp = phy_get_drvdata(phy); 1844 1844 const struct qmp_phy_cfg *cfg = qmp->cfg; ··· 1899 1899 return 0; 1900 1900 } 1901 1901 1902 - static int qmp_ufs_enable(struct phy *phy) 1902 + static int qmp_ufs_power_on(struct phy *phy) 1903 1903 { 1904 1904 int ret; 1905 1905 ··· 1907 1907 if (ret) 1908 1908 return ret; 1909 1909 1910 - ret = qmp_ufs_power_on(phy); 1910 + ret = qmp_ufs_phy_calibrate(phy); 1911 1911 if (ret) 1912 1912 qmp_ufs_exit(phy); 1913 1913 ··· 1941 1941 } 1942 1942 1943 1943 static const struct phy_ops qcom_qmp_ufs_phy_ops = { 1944 - .power_on = qmp_ufs_enable, 1944 + .power_on = qmp_ufs_power_on, 1945 1945 .power_off = qmp_ufs_disable, 1946 1946 .set_mode = qmp_ufs_set_mode, 1947 1947 .owner = THIS_MODULE,