diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2024-01-09 09:27:48 +0300 |
---|---|---|
committer | Viresh Kumar <viresh.kumar@linaro.org> | 2025-01-20 06:35:51 +0300 |
commit | b489e7946656ed67fea1a30f5103eb62a8686e04 (patch) | |
tree | e947ccde158004797f1b6e28894d97bbb21e97b3 /scripts/extract-fwblobs | |
parent | 1d38eb7f7b26261a0b642f6e0923269c7c000a97 (diff) | |
download | linux-b489e7946656ed67fea1a30f5103eb62a8686e04.tar.xz |
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/extract-fwblobs')
0 files changed, 0 insertions, 0 deletions