diff options
Diffstat (limited to 'drivers/clk/sprd')
-rw-r--r-- | drivers/clk/sprd/div.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/clk/sprd/div.c b/drivers/clk/sprd/div.c index 887a863..7621a1d 100644 --- a/drivers/clk/sprd/div.c +++ b/drivers/clk/sprd/div.c @@ -39,7 +39,8 @@ unsigned long sprd_div_helper_recalc_rate(struct sprd_clk_common *common, val = reg >> div->shift; val &= (1 << div->width) - 1; - return divider_recalc_rate(&common->hw, parent_rate, val, NULL, 0); + return divider_recalc_rate(&common->hw, parent_rate, val, NULL, 0, + div->width); } EXPORT_SYMBOL_GPL(sprd_div_helper_recalc_rate); |