iommu/mediatek: Disable iommu clock when system suspend
authorYong Wu <yong.wu@mediatek.com>
Mon, 21 Aug 2017 11:00:19 +0000 (19:00 +0800)
committerJoerg Roedel <jroedel@suse.de>
Tue, 22 Aug 2017 14:37:59 +0000 (16:37 +0200)
commit6254b64f570622d4ebb7af00d46229bfc7346212
tree0c81cc0819216f17081985f16e75bd41960f3742
parent4b00f5ac12fcee634c41b81444d981e1217ef618
iommu/mediatek: Disable iommu clock when system suspend

When system suspend, infra power domain may be off, and the iommu's
clock must be disabled when system off, or the iommu's bclk clock maybe
disabled after system resume.

Signed-off-by: Honghui Zhang <honghui.zhang@mediatek.com>
Signed-off-by: Yong Wu <yong.wu@mediatek.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/mtk_iommu.c