Files
赵宇 28722ed252 xtensa: time: Fix clk reference leak in calibrate_ccount()
In calibrate_ccount(), of_clk_get() acquires a reference to the CPU
clock, but clk_put() is never called to release it. The clock
reference is used only to read the frequency via clk_get_rate(),
then the function returns immediately, leaking the reference.

Fix this by calling clk_put(clk) before returning.

Signed-off-by: 赵宇 <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Max Filippov <[email protected]>
2026-09-10 03:40:17 -07:00
..
2026-09-04 06:53:13 -07:00
2026-04-05 13:53:01 -07:00
2022-05-01 19:51:24 -07:00
2023-06-12 19:48:57 -07:00
…
2026-03-27 10:19:08 -05:00
2026-09-04 06:53:13 -07:00