Advertisement
Guest User

Untitled

a guest
Nov 21st, 2014
172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. diff --git a/drivers/clk/qcom/clk-hfpll.c b/drivers/clk/qcom/clk-hfpll.c
  2. index f8a40a7cdf6f..8e9630074ec6 100644
  3. --- a/drivers/clk/qcom/clk-hfpll.c
  4. +++ b/drivers/clk/qcom/clk-hfpll.c
  5. @@ -190,6 +190,7 @@ static int clk_hfpll_set_rate(struct clk_hw *hw, unsigned long rate,
  6. }
  7.  
  8. regmap_write(regmap, hd->l_reg, l_val);
  9. + pr_info("we wrote %s L val to %#x\n", __clk_get_name(hw->clk), l_val);
  10.  
  11. if (enabled)
  12. __clk_hfpll_enable(hw);
  13. @@ -209,6 +210,8 @@ static unsigned long clk_hfpll_recalc_rate(struct clk_hw *hw,
  14.  
  15. regmap_read(regmap, hd->l_reg, &l_val);
  16.  
  17. + pr_info("%s L val is %#x\n", __clk_get_name(hw->clk), l_val);
  18. +
  19. return l_val * parent_rate;
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement