diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2021-11-08 00:16:25 +0300 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2022-03-01 13:13:03 +0300 |
commit | e5d5db1a79a5929b9ced99472f9a748a243d6a69 (patch) | |
tree | 61c7a7e0a48a1a4434387575d0833eb8f9f19fc6 /tools/perf/scripts/python/stackcollapse.py | |
parent | cea418863e968e086cf68b052da86b0707690ebc (diff) | |
download | linux-e5d5db1a79a5929b9ced99472f9a748a243d6a69.tar.xz |
gpu: host1x: Fix an error handling path in 'host1x_probe()'
Add the missing 'host1x_bo_cache_destroy()' call in the error handling
path of the probe, as already done in the remove function.
In order to simplify the error handling, move the 'host1x_bo_cache_init()'
call after all the devm_ function.
Fixes: 1f39b1dfa53c ("drm/tegra: Implement buffer object cache")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions