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)
commitd66dfcf80d0f55f95b9ea4a45ca41cc7115e9789
tree4a4b8ff1670117cd608fa23f0043cce397bbf094
parentb06e145f7030bea2f307d3dc68a6b9aaf2dd905c
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