diff options
author | Praveen Talari <quic_ptalari@quicinc.com> | 2025-07-21 23:15:29 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-07-22 18:52:50 +0200 |
commit | 94d691417e6f1fe5ba28c092fe95de3dc66d5e3c (patch) | |
tree | eaebc007a23789ccf6f516722ac2bb432543784e /tools/perf/scripts/python/sched-migration.py | |
parent | 4b2601ae3066daba5674049e83376317f66d45e8 (diff) |
serial: qcom-geni: move resource control logic to separate functions
Supports use in PM system/runtime frameworks, helping to distinguish new
resource control mechanisms and facilitate future modifications within
the new API.
The code that handles the actual enable or disable of resources like clock
and ICC paths to a separate function (geni_serial_resources_on() and
geni_serial_resources_off()) which enhances code readability.
Introduced minor return checks in newly added function APIs to enhance
error detection and prevent silent failures.
Signed-off-by: Praveen Talari <quic_ptalari@quicinc.com>
Link: https://lore.kernel.org/r/20250721174532.14022-6-quic_ptalari@quicinc.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions