diff options
author | 2024-01-09 11:57:48 +0530 | |
---|---|---|
committer | 2025-01-20 09:05:51 +0530 | |
commit | b489e7946656ed67fea1a30f5103eb62a8686e04 (patch) | |
tree | e947ccde158004797f1b6e28894d97bbb21e97b3 /scripts/gdb/linux/utils.py | |
parent | OPP: OF: Fix an OF node leak in _opp_add_static_v2() (diff) | |
download | wireguard-linux-b489e7946656ed67fea1a30f5103eb62a8686e04.tar.xz wireguard-linux-b489e7946656ed67fea1a30f5103eb62a8686e04.zip |
PM / OPP: Add reference counting helpers for Rust implementation
To ensure that resources such as OPP tables or OPP nodes are not freed
while in use by the Rust implementation, it is necessary to increment
their reference count from Rust code.
This commit introduces a new helper function,
dev_pm_opp_get_opp_table_ref(), to increment the reference count of an
OPP table and declares the existing helper dev_pm_opp_get() in pm_opp.h.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions