diff options
| author | Lars-Peter Clausen <[email protected]> | 2017-09-05 09:32:40 +0000 |
|---|---|---|
| committer | Stephen Boyd <[email protected]> | 2017-12-22 02:07:11 +0000 |
| commit | 063578dc5f407f67d149133818efabe457daafda (patch) | |
| tree | cf1ab0b9a47d56e7601b1fef2ae598aaae29cf25 /fs/jbd2/commit.c | |
| parent | Linux 4.15-rc1 (diff) | |
| download | kernel-063578dc5f407f67d149133818efabe457daafda.tar.gz kernel-063578dc5f407f67d149133818efabe457daafda.zip | |
clk: axi-clkgen: Correctly handle nocount bit in recalc_rate()
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 <[email protected]>
Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions
