mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 09:11:26 +03:00
Trivial clean-up to the tegra_alt_asoc_utils_init() function to improve readability and simplify by ... 1. Removing 'goto' statements because we only return the error code on error and there is no clean-up that needs to be done in the error path. 2. Move the code to request the clk_cdev1_rst reset from under the "data->soc > TEGRA_ASOC_UTILS_SOC_TEGRA210" check because we only use this reset for Tegra186 and there is an additional check for this device. Bug 1665446 Change-Id: I23aa8978721f677204a929c8fdebea1f9081793f Signed-off-by: Jonathan Hunter <jonathanh@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/2016370 Reviewed-by: Mohan Kumar D <mkumard@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Bibek Basu <bbasu@nvidia.com> Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>