ipq806x: 6.6: refresh kernel patches
[openwrt/openwrt.git] / target / linux / ipq806x / patches-6.6 / 122-05-clk-qcom-clk-krait-generilize-div-functions.patch
index 356659d9c083ccb06bc4079a65af1bba7cec4b80..45b94ed649d3c5ddb471762da914485b2384d08a 100644 (file)
@@ -30,7 +30,7 @@ Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
 +      req->best_parent_rate = clk_hw_round_rate(clk_hw_get_parent(hw),
 +                                                req->rate * d->divisor);
 +      req->rate = DIV_ROUND_UP(req->best_parent_rate, d->divisor);
-       return 0;
+       return 0;
  }
  
 -static int krait_div2_set_rate(struct clk_hw *hw, unsigned long rate,