diff options
| author | Michael Walle <mwalle@kernel.org> | 2026-05-07 11:09:34 -0500 |
|---|---|---|
| committer | Nishanth Menon <nm@ti.com> | 2026-06-03 21:45:49 -0500 |
| commit | a80b32a140c8612bbaed27009c383d43304db6d5 (patch) | |
| tree | bd32e2251d7eb5ffb60ea23d7ae88d1230e7f97b /tools/perf/scripts/python | |
| parent | 254f49634ee16a731174d2ae34bc50bd5f45e731 (diff) | |
clk: keystone: don't cache clock rate
The TISCI firmware will return 0 if the clock or consumer is not
enabled although there is a stored value in the firmware. IOW a call to
set rate will work but at get rate will always return 0 if the clock is
disabled.
The clk framework will try to cache the clock rate when it's requested
by a consumer. If the clock or consumer is not enabled at that point,
the cached value is 0, which is wrong. Thus, disable the cache
altogether.
Signed-off-by: Michael Walle <mwalle@kernel.org>
Reviewed-by: Kevin Hilman <khilman@baylibre.com>
Reviewed-by: Randolph Sapp <rs@ti.com>
Reviewed-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Antonios Christidis <a-christidis@ti.com>
Reviewed-by: Brian Masney <bmasney@redhat.com>
Link: https://patch.msgid.link/20260507-clk-sci-v2-1-38f59b48777a@ti.com
Signed-off-by: Nishanth Menon <nm@ti.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
