diff options
| author | Alexander Shishkin <alexander.shishkin@linux.intel.com> | 2015-12-22 17:25:18 +0200 |
|---|---|---|
| committer | Mathieu Poirier <mathieu.poirier@linaro.org> | 2016-06-01 15:28:39 -0600 |
| commit | df313b9ca8b14575387fbe53e5609caacde3e243 (patch) | |
| tree | d4314378c495ee3d811f4b0c8239808aa1016e51 /tools/perf/scripts/python | |
| parent | 51d81f32321e52023849e73a7ea777f89757e6f3 (diff) | |
stm class: Fix locking in unbinding policy path
Right now, if stm device removal has to unbind from a policy (that is,
an stm device that has STP policy, gets removed), it will trigger a
nested lock on the stm device's policy mutex.
This patch fixes the problem by moving the locking from the policy
unbinding to policy removal (configfs path), where it's actually needed;
the other caller of the policy unbinding function already takes the
mutex around the call.
Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit 4c127fd16e6b33ecb7badc091480c84ea9aebeb6)
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
