aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/clk/ingenic/cgu.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/clk/ingenic/cgu.c b/drivers/clk/ingenic/cgu.c
index b40160eb3372..510b685212d3 100644
--- a/drivers/clk/ingenic/cgu.c
+++ b/drivers/clk/ingenic/cgu.c
@@ -83,7 +83,7 @@ ingenic_pll_recalc_rate(struct clk_hw *hw, unsigned long parent_rate)
83 const struct ingenic_cgu_clk_info *clk_info; 83 const struct ingenic_cgu_clk_info *clk_info;
84 const struct ingenic_cgu_pll_info *pll_info; 84 const struct ingenic_cgu_pll_info *pll_info;
85 unsigned m, n, od_enc, od; 85 unsigned m, n, od_enc, od;
86 bool bypass, enable; 86 bool bypass;
87 unsigned long flags; 87 unsigned long flags;
88 u32 ctl; 88 u32 ctl;
89 89
@@ -103,7 +103,6 @@ ingenic_pll_recalc_rate(struct clk_hw *hw, unsigned long parent_rate)
103 od_enc &= GENMASK(pll_info->od_bits - 1, 0); 103 od_enc &= GENMASK(pll_info->od_bits - 1, 0);
104 bypass = !pll_info->no_bypass_bit && 104 bypass = !pll_info->no_bypass_bit &&
105 !!(ctl & BIT(pll_info->bypass_bit)); 105 !!(ctl & BIT(pll_info->bypass_bit));
106 enable = !!(ctl & BIT(pll_info->enable_bit));
107 106
108 if (bypass) 107 if (bypass)
109 return parent_rate; 108 return parent_rate;