mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 17:25:35 +03:00
ufs: Do not use mphy_l0_tx_2x_symb clock
mphy_l0_tx_2x_symb clock is only for T23x chips. Kept condition accordingly to use mphy_l0_tx_2x_symb clocks in T23x chips only. Bug 4199271 Signed-off-by: Mallikarjun Kasoju <mkasoju@nvidia.com> Change-Id: Ice48db41a45da763cfe4af18cc1440c59fb20b38 Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3145422 GVS: buildbot_gerritrpt <buildbot_gerritrpt@nvidia.com> Reviewed-by: Bitan Biswas <bbiswas@nvidia.com> Tested-by: Bitan Biswas <bbiswas@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
fee74728d3
commit
0475230ef4
@@ -428,16 +428,17 @@ static int ufs_tegra_enable_t234_mphy_clocks(struct ufs_tegra_host *host)
|
|||||||
goto disable_mphy_tx_hs_symb_div;
|
goto disable_mphy_tx_hs_symb_div;
|
||||||
}
|
}
|
||||||
|
|
||||||
err = ufs_tegra_host_clk_enable(dev, "mphy_l0_tx_2x_symb", host->mphy_l0_tx_2x_symb);
|
if (host->soc->chip_id != TEGRA264) {
|
||||||
if (err) {
|
err = ufs_tegra_host_clk_enable(dev, "mphy_l0_tx_2x_symb", host->mphy_l0_tx_2x_symb);
|
||||||
if (err != -EPROBE_DEFER)
|
if (err) {
|
||||||
dev_err(dev,
|
if (err != -EPROBE_DEFER)
|
||||||
"%s: mphy_l0_tx_2x_symb clock enable failed %d\n",
|
dev_err(dev,
|
||||||
__func__, err);
|
"%s: mphy_l0_tx_2x_symb clock enable failed %d\n",
|
||||||
goto disable_mphy_rx_hs_symb_div;
|
__func__, err);
|
||||||
} else {
|
goto disable_mphy_rx_hs_symb_div;
|
||||||
goto out;
|
}
|
||||||
}
|
}
|
||||||
|
goto out;
|
||||||
|
|
||||||
disable_mphy_rx_hs_symb_div:
|
disable_mphy_rx_hs_symb_div:
|
||||||
clk_disable_unprepare(host->mphy_rx_hs_symb_div);
|
clk_disable_unprepare(host->mphy_rx_hs_symb_div);
|
||||||
@@ -607,10 +608,12 @@ static int ufs_tegra_init_mphy_lane_clks(struct ufs_tegra_host *host)
|
|||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
|
||||||
err = ufs_tegra_host_clk_get(dev, "mphy_l0_tx_2x_symb",
|
if (host->soc->chip_id != TEGRA264) {
|
||||||
&host->mphy_l0_tx_2x_symb);
|
err = ufs_tegra_host_clk_get(dev, "mphy_l0_tx_2x_symb",
|
||||||
if (err)
|
&host->mphy_l0_tx_2x_symb);
|
||||||
goto out;
|
if (err)
|
||||||
|
goto out;
|
||||||
|
}
|
||||||
|
|
||||||
if (host->x2config) {
|
if (host->x2config) {
|
||||||
err = ufs_tegra_host_clk_get(dev, "mphy_l1_rx_ana",
|
err = ufs_tegra_host_clk_get(dev, "mphy_l1_rx_ana",
|
||||||
|
|||||||
Reference in New Issue
Block a user