diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2020-05-06 22:09:07 +0200 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2020-06-22 13:54:58 +0200 |
commit | c3d4eb3bf6ad32466555b31094f33a299444f795 (patch) | |
tree | f6c92109c2179e3f35f9fbdd95d30168e424ed5d /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 930c68180ffb059647d75ee28918bcb87f18d788 (diff) |
memory: tegra: Fix an error handling path in tegra186_emc_probe()
The call to tegra_bpmp_get() must be balanced by a call to
tegra_bpmp_put() in case of error, as already done in the remove
function.
Add an error handling path and corresponding goto.
Fixes: 52d15dd23f0b ("memory: tegra: Support DVFS on Tegra186 and later")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions