aboutsummaryrefslogtreecommitdiff
path: root/scripts/bpf_helpers_doc.py
diff options
context:
space:
mode:
authorStephen Boyd <[email protected]>2020-02-05 15:28:01 -0800
committerStephen Boyd <[email protected]>2020-02-12 15:27:11 -0800
commit0daa376d832f4ce585f153efee4233b52fa3fe58 (patch)
tree4b352a2fed2d72ea72eee48c808e91422cfd1e8a /scripts/bpf_helpers_doc.py
parent768a5d4f63c29d3bed5abb3c187312fcf623fa05 (diff)
clk: Move rate and accuracy recalc to mostly consumer APIs
There's some confusion about when recalc is done for the rate and accuracy clk consumer APIs in relation to the prepare lock being taken. Oddly enough, we take the lock again in debugfs APIs so that we can call the internal "clk_core" APIs to get these fields with any necessary recalculations. Instead of having this confusion, let's introduce a recalc variant of these two consumer APIs as internal helpers and call them from the consumer APIs and the debugfs code so that we don't take the lock more than once. Cc: Douglas Anderson <[email protected]> Cc: Heiko Stuebner <[email protected]> Cc: Jerome Brunet <[email protected]> Signed-off-by: Stephen Boyd <[email protected]> Link: https://lkml.kernel.org/r/[email protected] Acked-by: Jerome Brunet <[email protected]>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions