mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 09:11:26 +03:00
ASoC: tegra: avoid enabling aud_mclk during init
Enabling the aud_mclk clock during initialization of drivers was done for T30 chip due to some external dependencies, now it is not required for latest version of chips and also due to this aud_mclk is kept always ON. Add check to avoid enabling aud_mclk clock other than T30 Bug 4373898 Change-Id: If341b1b73051c5572c5551bf6d4659fab7a116d2 Signed-off-by: Mohan Kumar <mkumard@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3015891 Reviewed-by: Sharad Gupta <sharadg@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com>
This commit is contained in:
committed by
mobile promotions
parent
7ff7dcd36a
commit
7ffd0c9cfa
@@ -434,11 +434,13 @@ int tegra_asoc_utils_init(struct tegra_asoc_utils_data *data,
|
||||
* and suspend-resume functionality on Tegra30, although audio mclk is
|
||||
* only needed for audio.
|
||||
*/
|
||||
if (data->soc == TEGRA_ASOC_UTILS_SOC_TEGRA30) {
|
||||
ret = clk_prepare_enable(data->clk_cdev1);
|
||||
if (ret) {
|
||||
dev_err(data->dev, "Can't enable cdev1: %d\n", ret);
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user