diff options
author | Neil Zhang <[email protected]> | 2011-10-12 16:49:31 +0800 |
---|---|---|
committer | Felipe Balbi <[email protected]> | 2011-10-13 20:42:03 +0300 |
commit | 27cec2b2f7a4d2394af63a3dc7928975f4c072f4 (patch) | |
tree | 32b1c478bb32af364493528ab93d7de4a9b3398d /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 96c2bbb09d0742148a305d7afbdf7c5803fd78c1 (diff) |
usb: gadget: mv_udc: add missing spinlock in ep enable/disable
The ep enable / disable functions can be called from interrupt
context, and they are not race safe on SMP systems. The critical
data can be modified in more than one routing.
Make them race safe by using IRQ-safe spinlock functions.
Signed-off-by: Neil Zhang <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions