]> git.baikalelectronics.ru Git - kernel.git/commit
drm/tegra: dc: Free syncpoint on errors
authorThierry Reding <treding@nvidia.com>
Fri, 4 May 2018 13:00:54 +0000 (15:00 +0200)
committerThierry Reding <treding@nvidia.com>
Fri, 4 May 2018 15:07:06 +0000 (17:07 +0200)
commit775fa55a6f0cb61f793d68094e674985701f4d01
treeb5ebe25da4fc4357f745323633a613387b770042
parent17b284340cb5ec5e6b34d31f29832304baf36c89
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>
drivers/gpu/drm/tegra/dc.c