diff options
| author | Hemant Kumar <hemantk@codeaurora.org> | 2016-04-19 16:09:05 -0700 |
|---|---|---|
| committer | Jeevan Shriram <jshriram@codeaurora.org> | 2016-04-22 14:59:50 -0700 |
| commit | de2f55c7c0e8f93186a855c9acae3a1b11a15c10 (patch) | |
| tree | b3452547ef86b357afc3c4ceab865983ab5519d4 /tools/perf/scripts/python/syscall-counts.py | |
| parent | 4579ab018eebbf2c12b21d1cdb80476961f0e507 (diff) | |
usb: gadget: f_cdev: Fix recursive spin lock bug
Since driver context f_cdev is not freed until the driver
is unloaded, port_usb remains available to be accessed for
driver operations. Hence there is no need to protect port_usb
using spin lock. Hence remove un-needed spin lock/unlock from
some of the APIs which prevents recursive spin lock. Also, make
sure char device is destroyed before f_cdev context is freed up.
Change-Id: Ib91f23c070065185da72387300304f2690d5a8b1
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
