linux/drivers/hwtracing
Alexander Shishkin 4c127fd16e 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>
2016-02-07 22:43:17 -08:00
..
coresight coresight: implementing 'cpu_id()' API 2016-02-07 22:12:18 -08:00
intel_th intel_th: INTEL_TH should depend on HAS_DMA 2016-02-07 22:43:17 -08:00
stm stm class: Fix locking in unbinding policy path 2016-02-07 22:43:17 -08:00