clk: fractional-divider: support for divider bypassing
authorHeikki Krogerus <heikki.krogerus@linux.intel.com>
Mon, 2 Feb 2015 13:37:04 +0000 (15:37 +0200)
committerStephen Boyd <sboyd@codeaurora.org>
Thu, 12 Mar 2015 19:18:47 +0000 (12:18 -0700)
commit6b54783620bcfaff37ad41e957d29c326211cc18
treebbbe58b4b00f178c43aa45efefb6239a2ac00767
parent496eadf821c2a5111a4b1b401ddda8d1fc18fb0b
clk: fractional-divider: support for divider bypassing

If the divider or multiplier values are 0 in the register, bypassing the
divider and returning the parent clock rate in clk_fd_recalc_rate().

Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Michael Turquette <mturquette@linaro.org>
[mturquette@linaro.org: fixed commitlog typo]
drivers/clk/clk-fractional-divider.c