]> git.baikalelectronics.ru Git - kernel.git/commit
drm/tegra: Fix ordering of cleanup code
authorThierry Reding <treding@nvidia.com>
Wed, 25 Sep 2019 11:26:59 +0000 (13:26 +0200)
committerThierry Reding <treding@nvidia.com>
Thu, 24 Oct 2019 16:41:55 +0000 (18:41 +0200)
commitfdbb27887b24c9b27063599dd5be228a987ca7cb
tree24d4a10dabe182fe23c3c476dcd26d36993eb29b
parent5c89287453be88fa72eb60d97bc9840d05f68959
drm/tegra: Fix ordering of cleanup code

Commit Fixes: 8fb557f49402 ("drm/tegra: Setup shared IOMMU domain after
initialization") changed the initialization order of the IOMMU related
bits but didn't update the cleanup path accordingly. This asymmetry can
cause failures during error recovery.

Fixes: 8fb557f49402 ("drm/tegra: Setup shared IOMMU domain after initialization")
Signed-off-by: Thierry Reding <treding@nvidia.com>
Reviewed-by: Dmitry Osipenko <digetx@gmail.com>
Tested-by: Dmitry Osipenko <digetx@gmail.com>
drivers/gpu/drm/tegra/drm.c