aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorLars-Peter Clausen <[email protected]>2017-09-05 09:32:40 +0000
committerStephen Boyd <[email protected]>2017-12-22 02:07:11 +0000
commit063578dc5f407f67d149133818efabe457daafda (patch)
treecf1ab0b9a47d56e7601b1fef2ae598aaae29cf25 /fs/jbd2/commit.c
parentLinux 4.15-rc1 (diff)
downloadkernel-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