summaryrefslogtreecommitdiff
path: root/drivers/clk/hisilicon/clkdivider-hi6220.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/clk/hisilicon/clkdivider-hi6220.c')
-rw-r--r--drivers/clk/hisilicon/clkdivider-hi6220.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/hisilicon/clkdivider-hi6220.c b/drivers/clk/hisilicon/clkdivider-hi6220.c
index a1c1f684ad58..9f46cf9dcc65 100644
--- a/drivers/clk/hisilicon/clkdivider-hi6220.c
+++ b/drivers/clk/hisilicon/clkdivider-hi6220.c
@@ -56,7 +56,7 @@ static unsigned long hi6220_clkdiv_recalc_rate(struct clk_hw *hw,
val &= div_mask(dclk->width);
return divider_recalc_rate(hw, parent_rate, val, dclk->table,
- CLK_DIVIDER_ROUND_CLOSEST);
+ CLK_DIVIDER_ROUND_CLOSEST, dclk->width);
}
static long hi6220_clkdiv_round_rate(struct clk_hw *hw, unsigned long rate,