diff options
author | Mark Brown <[email protected]> | 2016-04-12 08:05:43 +0100 |
---|---|---|
committer | Mark Brown <[email protected]> | 2016-04-13 07:43:00 +0100 |
commit | 2c0a303a128cbef54a7b58dc2e413b874d760097 (patch) | |
tree | 94214f415ad4d80a6de16846220532d584296cc5 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | e437b90026ac754a0f8b4fe44b844d12ce6162d1 (diff) |
regulator: core: Fix locking of GPIO list on free
When we acquire a shareable enable GPIO on probe we do so with the
regulator_list_mutex held. However when we release the GPIOs we do this
immediately after dropping the mutex meaning that the list could become
corrupted. Move the release into the locked region to avoid this.
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions