]> git.baikalelectronics.ru Git - kernel.git/commit
drm/tegra: dc: Detach IOMMU group from domain only once
authorThierry Reding <treding@nvidia.com>
Sat, 17 Mar 2018 00:52:38 +0000 (01:52 +0100)
committerThierry Reding <treding@nvidia.com>
Mon, 19 Mar 2018 08:57:04 +0000 (09:57 +0100)
commitcc55c9cbf10c61aac37098cab5421b8eb1a1e12b
treed15809b23cc887cce560ea74537c92205d4ed067
parentfb0f50f4afb67dc747906b1426ad3780e88b591a
drm/tegra: dc: Detach IOMMU group from domain only once

Detaching from an IOMMU group multiple times can lead to a crash. This
could potentially be fixed in the IOMMU driver, but it's easy to avoid
the subsequent detach operations in this driver, so do that as well.

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