diff options
author | Jerome Brunet <[email protected]> | 2017-12-01 22:51:54 +0100 |
---|---|---|
committer | Michael Turquette <[email protected]> | 2017-12-19 16:17:43 -0800 |
commit | 0f6cc2b8e94da5400528c0ba7fd910392ec598a2 (patch) | |
tree | 3f2f13854af4eeb7875dacc4d4d62acb4641cfea /net/unix/sysctl_net_unix.c | |
parent | 9e4d04adeb1a957be212aace20ac5cee6f14013c (diff) |
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 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions