diff options
| author | Javier Martinez Canillas <[email protected]> | 2015-07-15 14:10:28 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2015-07-16 20:38:59 +0000 |
| commit | e2c09ae7a74d94222187edbe8f5cf1fa9364efcd (patch) | |
| tree | d133fd8f27f707054ffba6056bfc9c1a58b22ca0 /tools/perf/util/scripting-engines/trace-event-perl.c | |
| parent | Linux 4.2-rc1 (diff) | |
| download | kernel-e2c09ae7a74d94222187edbe8f5cf1fa9364efcd.tar.gz kernel-e2c09ae7a74d94222187edbe8f5cf1fa9364efcd.zip | |
regulator: core: Increase refcount for regulator supply's module
When a regulator is unregistered with regulator_unregister(), a call to
regulator_put() is made for its input supply if there is one. This does
a module_put() to decrement the refcount of the module that owns the
supply but there isn't a corresponding try_module_get() in set_supply()
to make the calls balanced.
Signed-off-by: Javier Martinez Canillas <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions
