rockchip: iommu: move iommu_reset function to attach_device
authorSimon <xxm@rock-chips.com>
Thu, 6 Nov 2014 08:42:47 +0000 (16:42 +0800)
committerSimon <xxm@rock-chips.com>
Thu, 6 Nov 2014 08:49:47 +0000 (16:49 +0800)
commit0ca9ef6dd50d457c924c72b1e04d9f05074d9fbd
treef724bb9ccd6181bc83a90eb6591d213d7569c019
parent2efcc1342f98890c91f7858fe8e1f32a09110b61
rockchip: iommu: move iommu_reset function to attach_device

If master power domain is disabled,at this time to r/w the
iommu register,it would failed.Master call the attach_deivce
means it must power on itself,so iommu_reset in attach_device
can guarantee the safety

Depend on this, we can remove the vpu/hevc GRF relative code
drivers/iommu/rockchip-iommu.c