diff options
author | Liang He <windhl@126.com> | 2023-01-05 09:10:55 +0300 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2023-02-22 11:25:53 +0300 |
commit | 4414a7ab80cebf715045e3c4d465feefbad21139 (patch) | |
tree | 88ff216954157ff756b2f2d77fc7133d8fe42bca /tools/perf/scripts/python/stackcollapse.py | |
parent | 7d1e3bd94828ad9fc86f55253cd6fec8edd65394 (diff) | |
download | linux-4414a7ab80cebf715045e3c4d465feefbad21139.tar.xz |
mfd: arizona: Use pm_runtime_resume_and_get() to prevent refcnt leak
In arizona_clk32k_enable(), we should use pm_runtime_resume_and_get()
as pm_runtime_get_sync() will increase the refcnt even when it
returns an error.
Signed-off-by: Liang He <windhl@126.com>
Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Signed-off-by: Lee Jones <lee@kernel.org>
Link: https://lore.kernel.org/r/20230105061055.1509261-1-windhl@126.com
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions