diff options
author | Christophe JAILLET <[email protected]> | 2020-05-06 22:09:07 +0200 |
---|---|---|
committer | Thierry Reding <[email protected]> | 2020-06-22 13:54:58 +0200 |
commit | c3d4eb3bf6ad32466555b31094f33a299444f795 (patch) | |
tree | f6c92109c2179e3f35f9fbdd95d30168e424ed5d /tools/testing/selftests/bpf/prog_tests/autoload.c | |
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 <[email protected]>
Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions