aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iommu/omap-iommu.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/iommu/omap-iommu.c')
-rw-r--r--drivers/iommu/omap-iommu.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/iommu/omap-iommu.c b/drivers/iommu/omap-iommu.c
index 6b1288cddaef..f8082da6179b 100644
--- a/drivers/iommu/omap-iommu.c
+++ b/drivers/iommu/omap-iommu.c
@@ -154,7 +154,6 @@ static int iommu_enable(struct omap_iommu *obj)
154 154
155 err = arch_iommu->enable(obj); 155 err = arch_iommu->enable(obj);
156 156
157 clk_disable(obj->clk);
158 return err; 157 return err;
159} 158}
160 159
@@ -163,8 +162,6 @@ static void iommu_disable(struct omap_iommu *obj)
163 if (!obj) 162 if (!obj)
164 return; 163 return;
165 164
166 clk_enable(obj->clk);
167
168 arch_iommu->disable(obj); 165 arch_iommu->disable(obj);
169 166
170 clk_disable(obj->clk); 167 clk_disable(obj->clk);