Searched hist:"3466 ea2cd6b66e4647a9af2381c0d0cd3d579354" (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/opp/ |
H A D | opp.h | diff 3466ea2cd6b66e4647a9af2381c0d0cd3d579354 Mon Jul 18 08:36:32 CDT 2022 Liang He <windhl@126.com> OPP: Don't drop opp->np reference while it is still in use
The struct dev_pm_opp contains a reference of the DT node, opp->np, throughout its lifetime. We should increase the refcount for the same from _opp_add_static_v2(), and drop it while removing the OPP finally.
Signed-off-by: Liang He <windhl@126.com> [ Viresh: Updated subject / commit log, create _of_clear_opp() and drop reference from it] Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
|
H A D | of.c | diff 3466ea2cd6b66e4647a9af2381c0d0cd3d579354 Mon Jul 18 08:36:32 CDT 2022 Liang He <windhl@126.com> OPP: Don't drop opp->np reference while it is still in use
The struct dev_pm_opp contains a reference of the DT node, opp->np, throughout its lifetime. We should increase the refcount for the same from _opp_add_static_v2(), and drop it while removing the OPP finally.
Signed-off-by: Liang He <windhl@126.com> [ Viresh: Updated subject / commit log, create _of_clear_opp() and drop reference from it] Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
|
H A D | core.c | diff 3466ea2cd6b66e4647a9af2381c0d0cd3d579354 Mon Jul 18 08:36:32 CDT 2022 Liang He <windhl@126.com> OPP: Don't drop opp->np reference while it is still in use
The struct dev_pm_opp contains a reference of the DT node, opp->np, throughout its lifetime. We should increase the refcount for the same from _opp_add_static_v2(), and drop it while removing the OPP finally.
Signed-off-by: Liang He <windhl@126.com> [ Viresh: Updated subject / commit log, create _of_clear_opp() and drop reference from it] Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
|