From: Stephen Boyd Date: Tue, 4 Jun 2013 19:25:32 +0000 (-0700) Subject: msm: iommu: Use clk_set_rate() instead of clk_set_min_rate() X-Git-Tag: next-20130617~12^2^2~6 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=eb2b5a4e5e7f439c889444f3e920ac0b135a12bd;p=karo-tx-linux.git msm: iommu: Use clk_set_rate() instead of clk_set_min_rate() Calling clk_set_min_rate() is no better than just calling clk_set_rate() because MSM clock code already takes care of calling the min_rate ops if the clock really needs clk_set_min_rate() called on it. Signed-off-by: Stephen Boyd Signed-off-by: David Brown --- diff --git a/drivers/iommu/msm_iommu_dev.c b/drivers/iommu/msm_iommu_dev.c index d344f6ab8c12..9144a6beed92 100644 --- a/drivers/iommu/msm_iommu_dev.c +++ b/drivers/iommu/msm_iommu_dev.c @@ -29,7 +29,6 @@ #include #include -#include struct iommu_ctx_iter_data { /* input */ @@ -168,7 +167,7 @@ static int msm_iommu_probe(struct platform_device *pdev) if (!IS_ERR(iommu_clk)) { if (clk_get_rate(iommu_clk) == 0) - clk_set_min_rate(iommu_clk, 1); + clk_set_rate(iommu_clk, 1); ret = clk_prepare_enable(iommu_clk); if (ret) {