]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit - drivers/iommu/exynos-iommu.c
iommu/exynos: Fix master clock management for inactive SYSMMU
authorMarek Szyprowski <m.szyprowski@samsung.com>
Mon, 23 May 2016 09:30:08 +0000 (11:30 +0200)
committerJoerg Roedel <jroedel@suse.de>
Wed, 15 Jun 2016 11:59:58 +0000 (13:59 +0200)
commit01324ab2c990bbd39ec0ef388b7c311a54452a0b
treea9e180fa5d086b8c4ebc2c34b83a882a74eb3ea1
parent0c2b063f1813ac99238b9c61edb58752eb7762cf
iommu/exynos: Fix master clock management for inactive SYSMMU

If SYSMMU controller is not active, there is no point in enabling master's
clock just for doing the the of internal state. This patch moves enabling
that clock to the block which actually does the register access.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/exynos-iommu.c