Skip to content

Commit

Permalink
Merge branch 'clk-fixes' into clk-next
Browse files Browse the repository at this point in the history
* clk-fixes:
  clk: ti: omap3+: dpll: use non-locking version of clk_get_rate
  • Loading branch information
bebarino committed Feb 22, 2016
2 parents 732d691 + a0d54c3 commit 1e59403
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/clk/ti/dpll3xxx.c
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,8 @@ int omap3_noncore_dpll_enable(struct clk_hw *hw)

parent = clk_hw_get_parent(hw);

if (clk_hw_get_rate(hw) == clk_get_rate(dd->clk_bypass)) {
if (clk_hw_get_rate(hw) ==
clk_hw_get_rate(__clk_get_hw(dd->clk_bypass))) {
WARN_ON(parent != __clk_get_hw(dd->clk_bypass));
r = _omap3_noncore_dpll_bypass(clk);
} else {
Expand Down

0 comments on commit 1e59403

Please sign in to comment.