diff options
| author | Maxime Ripard <[email protected]> | 2022-08-16 11:25:17 +0000 |
|---|---|---|
| committer | Stephen Boyd <[email protected]> | 2022-09-15 16:31:05 +0000 |
| commit | 3afb07231d603d51dca6a5d5e16d9d8f422f9b5f (patch) | |
| tree | 3432f40470f753ff7a1383379902168e5b4fc881 /tools/perf/util/scripting-engines/trace-event-perl.c | |
| parent | clk: tests: Add some tests for orphan with multiple parents (diff) | |
| download | kernel-3afb07231d603d51dca6a5d5e16d9d8f422f9b5f.tar.gz kernel-3afb07231d603d51dca6a5d5e16d9d8f422f9b5f.zip | |
clk: Take into account uncached clocks in clk_set_rate_range()
clk_set_rate_range() will use the last requested rate for the clock when
it calls into the driver set_rate hook.
However, if CLK_GET_RATE_NOCACHE is set on that clock, the last
requested rate might not be matching the current rate of the clock. In
such a case, let's read out the rate from the hardware and use that in
our set_rate instead.
Tested-by: Alexander Stein <[email protected]> # imx8mp
Tested-by: Marek Szyprowski <[email protected]> # exynos4210, meson g12b
Signed-off-by: Maxime Ripard <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Tested-by: Linux Kernel Functional Testing <[email protected]>
Tested-by: Naresh Kamboju <[email protected]>
Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions
