mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
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. Cc: Joerg Roedel <[email protected]> Signed-off-by: Stephen Boyd <[email protected]> Acked-by: Joerg Roedel <[email protected]> Signed-off-by: David Brown <[email protected]>
This commit is contained in:
parent
1107b1716b
commit
8d21415348
1 changed files with 1 additions and 2 deletions
|
|
@ -29,7 +29,6 @@
|
|||
|
||||
#include <mach/iommu_hw-8xxx.h>
|
||||
#include <mach/iommu.h>
|
||||
#include <mach/clk.h>
|
||||
|
||||
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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue