diff options
author | Stephen Boyd <sboyd@codeaurora.org> | 2018-01-27 03:42:03 +0300 |
---|---|---|
committer | Stephen Boyd <sboyd@codeaurora.org> | 2018-01-27 03:43:14 +0300 |
commit | 716d9b1d4a88493ec3e52957cc1026d32534ee67 (patch) | |
tree | f1f9c9d73a5527e23e1a476cb2acbdad9e81f09f /drivers/clk/qcom/clk-regmap-divider.c | |
parent | 0003046477a0c0038bab8c899181faa2e7d86d40 (diff) | |
parent | 12a26c298d2a8b1cab498533fa65198e49e3afd3 (diff) | |
download | linux-716d9b1d4a88493ec3e52957cc1026d32534ee67.tar.xz |
Merge branch 'clk-divider-container' into clk-next
* clk-divider-container:
clk: divider: fix incorrect usage of container_of
Plus fixup sprd/div.c to pass the width too.
Diffstat (limited to 'drivers/clk/qcom/clk-regmap-divider.c')
-rw-r--r-- | drivers/clk/qcom/clk-regmap-divider.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/qcom/clk-regmap-divider.c b/drivers/clk/qcom/clk-regmap-divider.c index 6cf9005fb8c6..4e9b8c2c8980 100644 --- a/drivers/clk/qcom/clk-regmap-divider.c +++ b/drivers/clk/qcom/clk-regmap-divider.c @@ -82,7 +82,7 @@ static unsigned long div_recalc_rate(struct clk_hw *hw, div &= BIT(divider->width) - 1; return divider_recalc_rate(hw, parent_rate, div, NULL, - CLK_DIVIDER_ROUND_CLOSEST); + CLK_DIVIDER_ROUND_CLOSEST, divider->width); } const struct clk_ops clk_regmap_div_ops = { |