Skip to content

Commit

Permalink
Merge tag 'clk-fixes-for-linus' of git://git.kernel.org/pub/scm/linux…
Browse files Browse the repository at this point in the history
…/kernel/git/clk/linux

Pull clk fix from Stephen Boyd:
 "One small fix to keep OMAP platforms working across a suspend/resume
  cycle"

* tag 'clk-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/clk/linux:
  clk: ti: omap3+: dpll: use non-locking version of clk_get_rate
  • Loading branch information
torvalds committed Feb 27, 2016
2 parents 29a9faa + a0d54c3 commit b9ea44b
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 b9ea44b

Please sign in to comment.