Files
linux/drivers
Lars-Peter Clausen fa97cdb4c7 clk: axi-clkgen: Correctly handle nocount bit in recalc_rate()
[ Upstream commit 063578dc5f ]

If the nocount bit is set the divider is bypassed and the settings for the
divider count should be ignored and a divider value of 1 should be assumed.
Handle this correctly in the driver recalc_rate() callback.

While the driver sets up the part so that the read back dividers values
yield the correct result the power-on reset settings of the part might not
reflect this and hence calling e.g. clk_get_rate() without prior calls to
clk_set_rate() will yield the wrong result.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-03-24 11:01:28 +01:00
..
2018-02-25 11:07:52 +01:00
2017-12-14 09:53:13 +01:00
2018-03-19 08:42:47 +01:00
2018-03-24 11:01:26 +01:00
2017-12-29 17:53:46 +01:00
2018-01-17 09:45:27 +01:00
2018-03-24 11:01:24 +01:00