diff options
author | Sascha Hauer <[email protected]> | 2023-10-18 08:17:02 +0200 |
---|---|---|
committer | Chanwoo Choi <[email protected]> | 2023-10-19 20:50:10 +0900 |
commit | d724f4a4581b2910ce79b45bd353ee66e7cf9d7f (patch) | |
tree | 7c2d36abf97329b59c8fbf566b5cc95fccb5d417 /tools/perf/util/trace-event-scripting.c | |
parent | b82932fbd870b64fd71a999f9b61fbdcf2924ee6 (diff) |
PM / devfreq: rockchip-dfi: Prepare for multiple users
When adding perf support later the DFI must be enabled when
either of devfreq-event or perf is active. Prepare for that
by adding a usage counter for the DFI. Also move enabling
and disabling of the clock away from the devfreq-event specific
functions to which the perf specific part won't have access.
Link: https://lore.kernel.org/all/[email protected]/
Reviewed-by: Jonathan Cameron <[email protected]>
Reviewed-by: Sebastian Reichel <[email protected]>
Acked-by: Chanwoo Choi <[email protected]>
Signed-off-by: Sascha Hauer <[email protected]>
Signed-off-by: Chanwoo Choi <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions