]> git.baikalelectronics.ru Git - kernel.git/commit
drm/tegra: Run hub cleanup on ->remove()
authorThierry Reding <treding@nvidia.com>
Tue, 3 Dec 2019 16:19:14 +0000 (17:19 +0100)
committerThierry Reding <treding@nvidia.com>
Wed, 4 Dec 2019 12:38:16 +0000 (13:38 +0100)
commit623e380fd9d8c3fa62d3e7210e984cb06b852be4
tree4a4b8ff1670117cd608fa23f0043cce397bbf094
parent0a8b01c74b4b422830b269fbc09a63276eaa9a56
drm/tegra: Run hub cleanup on ->remove()

The call to tegra_display_hub_cleanup() that takes care of disabling the
window groups is missing from the driver's ->remove() callback. Call it
to make sure the runtime PM reference counts for the display controllers
are balanced.

Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/drm.c