In preparation of OMAP moving to Common Clk Framework(CCF) add clk_prepare() and clk_unprepare() for the iommu clocks. Signed-off-by: Rajendra Nayak <rnayak@xxxxxx> Cc: Ohad Ben-Cohen <ohad@xxxxxxxxxx> --- drivers/iommu/omap-iommu.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/iommu/omap-iommu.c b/drivers/iommu/omap-iommu.c index e70ee2b..fa72372 100644 --- a/drivers/iommu/omap-iommu.c +++ b/drivers/iommu/omap-iommu.c @@ -923,6 +923,7 @@ static int __devinit omap_iommu_probe(struct platform_device *pdev) obj->clk = clk_get(&pdev->dev, pdata->clk_name); if (IS_ERR(obj->clk)) goto err_clk; + clk_prepare(obj->clk); obj->nr_tlb_entries = pdata->nr_tlb_entries; obj->name = pdata->name; @@ -974,6 +975,7 @@ err_irq: err_ioremap: release_mem_region(res->start, resource_size(res)); err_mem: + clk_unprepare(obj->clk); clk_put(obj->clk); err_clk: kfree(obj); -- 1.7.1 -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html