mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 17:25:35 +03:00
ufs: Do not use clk_m clock
clk_m clock is only T23x chips. Kept condition accordingly to use clk_m clocks in T23x chips only. Bug 4199271 Signed-off-by: Mallikarjun Kasoju <mkasoju@nvidia.com> Change-Id: I12259bddfec91b54504bb70356e0fc29a72f067d Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3145425 Tested-by: mobile promotions <svcmobile_promotions@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
d260c69c83
commit
3049af901c
@@ -685,10 +685,13 @@ static int ufs_tegra_init_ufs_clks(struct ufs_tegra_host *ufs_tegra)
|
|||||||
"pll_p", &ufs_tegra->ufshc_parent);
|
"pll_p", &ufs_tegra->ufshc_parent);
|
||||||
if (err)
|
if (err)
|
||||||
goto out;
|
goto out;
|
||||||
|
if (ufs_tegra->soc->chip_id != TEGRA264) {
|
||||||
err = ufs_tegra_host_clk_get(dev,
|
err = ufs_tegra_host_clk_get(dev,
|
||||||
"clk_m", &ufs_tegra->ufsdev_parent);
|
"clk_m", &ufs_tegra->ufsdev_parent);
|
||||||
if (err)
|
if (err)
|
||||||
goto out;
|
goto out;
|
||||||
|
}
|
||||||
|
|
||||||
err = ufs_tegra_host_clk_get(dev,
|
err = ufs_tegra_host_clk_get(dev,
|
||||||
"ufsdev_ref", &ufs_tegra->ufsdev_ref_clk);
|
"ufsdev_ref", &ufs_tegra->ufsdev_ref_clk);
|
||||||
if (err)
|
if (err)
|
||||||
|
|||||||
Reference in New Issue
Block a user