diff options
author | Stephen Boyd <sboyd@codeaurora.org> | 2018-01-27 01:42:03 +0100 |
---|---|---|
committer | Stephen Boyd <sboyd@codeaurora.org> | 2018-01-27 01:43:14 +0100 |
commit | 716d9b1d4a88493ec3e52957cc1026d32534ee67 (patch) | |
tree | f1f9c9d73a5527e23e1a476cb2acbdad9e81f09f /drivers/clk/nxp | |
parent | Merge branches 'clk-iproc', 'clk-mvebu' and 'clk-qcom-a53' into clk-next (diff) | |
parent | clk: divider: fix incorrect usage of container_of (diff) | |
download | linux-716d9b1d4a88493ec3e52957cc1026d32534ee67.tar.xz linux-716d9b1d4a88493ec3e52957cc1026d32534ee67.zip |
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/nxp')
-rw-r--r-- | drivers/clk/nxp/clk-lpc32xx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/nxp/clk-lpc32xx.c b/drivers/clk/nxp/clk-lpc32xx.c index b669a5c10fee..f5d815f577e0 100644 --- a/drivers/clk/nxp/clk-lpc32xx.c +++ b/drivers/clk/nxp/clk-lpc32xx.c @@ -956,7 +956,7 @@ static unsigned long clk_divider_recalc_rate(struct clk_hw *hw, val &= div_mask(divider->width); return divider_recalc_rate(hw, parent_rate, val, divider->table, - divider->flags); + divider->flags, divider->width); } static long clk_divider_round_rate(struct clk_hw *hw, unsigned long rate, |