diff options
| author | Jerome Brunet <[email protected]> | 2017-12-01 21:51:54 +0000 |
|---|---|---|
| committer | Michael Turquette <[email protected]> | 2017-12-20 00:17:43 +0000 |
| commit | 0f6cc2b8e94da5400528c0ba7fd910392ec598a2 (patch) | |
| tree | 3f2f13854af4eeb7875dacc4d4d62acb4641cfea /fs/jbd2/commit.c | |
| parent | clk: add clk_core_set_phase_nolock function (diff) | |
| download | kernel-0f6cc2b8e94da5400528c0ba7fd910392ec598a2.tar.gz kernel-0f6cc2b8e94da5400528c0ba7fd910392ec598a2.zip | |
clk: rework calls to round and determine rate callbacks
Rework the way the callbacks round_rate() and determine_rate() are called.
The goal is to do this at a single point and make it easier to add
conditions before calling them.
Because of this factorization, rate returned by determine_rate() is also
checked against the min and max rate values
This rework is done to ease the integration of "protected" clock
functionality.
Acked-by: Linus Walleij <[email protected]>
Tested-by: Quentin Schulz <[email protected]>
Tested-by: Maxime Ripard <[email protected]>
Acked-by: Michael Turquette <[email protected]>
Signed-off-by: Jerome Brunet <[email protected]>
Signed-off-by: Michael Turquette <[email protected]>
Link: lkml.kernel.org/r/[email protected]
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions
