mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00:00
drm/tegra: dc: Free syncpoint on errors
If an error happens during display controller initialization, the host1x syncpoint previously requested would be leaked. Properly clean up the syncpoint along with the other resources. Reviewed-by: Dmitry Osipenko <digetx@gmail.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
This commit is contained in:
parent
c9ac52175b
commit
fd5ec0dc34
1 changed files with 2 additions and 0 deletions
|
@ -1925,6 +1925,8 @@ cleanup:
|
|||
iommu_group_put(dc->group);
|
||||
}
|
||||
|
||||
host1x_syncpt_free(dc->syncpt);
|
||||
|
||||
return err;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue