diff options
| author | Leon Yu <leoyu@nvidia.com> | 2019-08-15 06:12:18 -0400 |
|---|---|---|
| committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2020-01-22 12:10:07 -0500 |
| commit | dcf5893a70a79e60c57f492fbc7fc8a8e4b08c3a (patch) | |
| tree | 6270de33d81fec149e2478e71258b5621570c918 /include/linux | |
| parent | 86afc0d908f12a4f68c5d2c86d5f5202f8646bb9 (diff) | |
cpufreq: tegra186: fix hv mode error path
If tegra_cpufreq_hv_mode is true and parse_hv_dt_data fails, we
shouldn't go to err_free_res as platform resources are not
allocated/mapped in case of hv mode. Also, we have not reached to the
point to register_with_emc_bwmgr or get_lut_from_bpmp, so branching to
err_free_res and ending up calling free_resources as well as
free_shared_lut is incorrect.
Bug 200512604
Change-Id: Ifb30e44c67b9eef22d2ef2e46fac33da7df5dc13
Signed-off-by: Leon Yu <leoyu@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2275514
GVS: Gerrit_Virtual_Submit
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sumit Gupta <sumitg@nvidia.com>
Reviewed-by: Puneet Saxena <puneets@nvidia.com>
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
