diff options
| author | Mark Brown <[email protected]> | 2012-03-28 20:17:55 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2012-03-29 21:50:14 +0000 |
| commit | e032b376551a61662b20a2c8544fbbc568ab2e7f (patch) | |
| tree | c3a315be3598e387cd779f37455d75be1b5dd0bf /lib/debugobjects.c | |
| parent | regulator: Fix comments in include/linux/regulator/machine.h (diff) | |
| download | kernel-e032b376551a61662b20a2c8544fbbc568ab2e7f.tar.gz kernel-e032b376551a61662b20a2c8544fbbc568ab2e7f.zip | |
regulator: Fix deadlock on removal of regulators with supplies
If a regulator with a supply is being unregistered we will call
regulator_put() to release the supply with the regulator_list_mutex held
but this deadlocks as regulator_put() takes the same lock. Fix this by
releasing the supply before we take the mutex in regulator_unregister().
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
