commit | dd99b4b48833a55817d78a48034b606664b1fff8 | [log] [tgz] |
---|---|---|
author | Thierry Reding <treding@nvidia.com> | Fri May 04 14:58:26 2018 +0200 |
committer | Thierry Reding <treding@nvidia.com> | Fri May 04 17:07:22 2018 +0200 |
tree | e0ecab4a6311c16bfd92d3c33aef849babc6bd96 | |
parent | fd5ec0dc34dafa6c5bb46770ca283ae90a4db3c7 [diff] |
drm/tegra: gr2d: Properly clean up resources Failure to register the Tegra DRM client would leak the resources. Move cleanup code to error unwinding gotos to fix that and share the cleanup code with the other error paths. Reviewed-by: Dmitry Osipenko <digetx@gmail.com> Signed-off-by: Thierry Reding <treding@nvidia.com>