Skip to content
Commit e5d5db1a authored by Christophe JAILLET's avatar Christophe JAILLET Committed by Thierry Reding
Browse files

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: 1f39b1df ("drm/tegra: Implement buffer object cache")
Signed-off-by: default avatarChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: default avatarThierry Reding <treding@nvidia.com>
parent cea41886
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment