Advertisement
embed3d

dirty_debug_a31s_code_diff

Feb 13th, 2018
284
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 1.15 KB | None | 0 0
  1. diff --git a/drivers/clk/clk-divider.c b/drivers/clk/clk-divider.c
  2. index b49942b9fe50..cf38e80107d3 100644
  3. --- a/drivers/clk/clk-divider.c
  4. +++ b/drivers/clk/clk-divider.c
  5. @@ -122,7 +122,9 @@ unsigned long divider_recalc_rate(struct clk_hw *hw, unsigned long parent_rate,
  6.  {
  7.     unsigned int div;
  8.  
  9. +   printk("#before _get_diff\n");
  10.     div = _get_div(table, val, flags, width);
  11. +   printk("#after _get_div\n");
  12.     if (!div) {
  13.         WARN(!(flags & CLK_DIVIDER_ALLOW_ZERO),
  14.             "%s: Zero divisor and CLK_DIVIDER_ALLOW_ZERO not set\n",
  15. diff --git a/drivers/clk/sunxi-ng/ccu_common.c b/drivers/clk/sunxi-ng/ccu_common.c
  16. index 40aac316128f..349d1fd70c96 100644
  17. --- a/drivers/clk/sunxi-ng/ccu_common.c
  18. +++ b/drivers/clk/sunxi-ng/ccu_common.c
  19. @@ -104,12 +104,14 @@ int sunxi_ccu_probe(struct device_node *node, void __iomem *reg,
  20.         cclk->lock = &ccu_lock;
  21.     }
  22.  
  23. +   printk("#### DBG %d \n", desc->hw_clks->num);
  24.     for (i = 0; i < desc->hw_clks->num ; i++) {
  25.         struct clk_hw *hw = desc->hw_clks->hws[i];
  26.  
  27.         if (!hw)
  28.             continue;
  29.  
  30. +       printk("#### DBG num %d \n", i);
  31.         ret = clk_hw_register(NULL, hw);
  32.         if (ret) {
  33.             pr_err("Couldn't register clock %d - %s\n",
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement