diff options
author | Yang Yingliang <[email protected]> | 2022-12-01 20:27:05 +0800 |
---|---|---|
committer | Mark Brown <[email protected]> | 2022-12-01 17:19:12 +0000 |
commit | da46ee19cbd8344d6860816b4827a7ce95764867 (patch) | |
tree | 149a00cffcfa9e13fbf2d2f8e6545b011ba7444b /tools/perf/scripts/python/stackcollapse.py | |
parent | 0591b14ce0398125439c759f889647369aa616a0 (diff) |
regulator: core: fix module refcount leak in set_supply()
If create_regulator() fails in set_supply(), the module refcount
needs be put to keep refcount balanced.
Fixes: e2c09ae7a74d ("regulator: core: Increase refcount for regulator supply's module")
Signed-off-by: Yang Yingliang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions