diff options
author | 2018-05-04 02:47:19 +0300 | |
---|---|---|
committer | 2018-05-04 14:19:14 +0200 | |
commit | 6f75b16b2683eb7c86ce2c8d150bf3fa759103b9 (patch) | |
tree | b2aa244aac84bd4a0a0da23a39f3a439f2e9fbc6 /drivers/gpu/drm/tegra/dc.h | |
parent | drm/tegra: hub: Use state directly (diff) | |
download | linux-dev-6f75b16b2683eb7c86ce2c8d150bf3fa759103b9.tar.xz linux-dev-6f75b16b2683eb7c86ce2c8d150bf3fa759103b9.zip |
drm/tegra: dc: Balance IOMMU group refcounting
Remove unneeded iommu_group_get() and add missing iommu_group_put(),
correcting IOMMU group refcount. This is a minor correction / cleanup that
doesn't really fix anything because Tegra's IOMMU driver are built-in and
hence groups refcounting can't hold IOMMU driver from unloading.
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/drm/tegra/dc.h')
-rw-r--r-- | drivers/gpu/drm/tegra/dc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/tegra/dc.h b/drivers/gpu/drm/tegra/dc.h index d2b50d32de4d..7be786febb17 100644 --- a/drivers/gpu/drm/tegra/dc.h +++ b/drivers/gpu/drm/tegra/dc.h @@ -92,7 +92,7 @@ struct tegra_dc { const struct tegra_dc_soc_info *soc; - struct iommu_domain *domain; + struct iommu_group *group; }; static inline struct tegra_dc * |