diff options
| author | Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> | 2017-09-13 15:31:33 +0900 |
|---|---|---|
| committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2017-09-20 14:57:28 +0300 |
| commit | 9ada8c582088d32bd5c071c17213bc6edf37443a (patch) | |
| tree | f08cbd1a2cc3d37581d2bba9f0e8a8670a5369e4 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | usb: gadget: core: fix ->udc_set_speed() logic (diff) | |
| download | linux-9ada8c582088d32bd5c071c17213bc6edf37443a.tar.gz linux-9ada8c582088d32bd5c071c17213bc6edf37443a.zip | |
usb: gadget: function: printer: avoid spinlock recursion
If usb_gadget_giveback_request() is called in usb_ep_queue(),
this printer_write() is possible to cause spinlock recursion. So,
this patch adds spin_unlock() before calls usb_ep_queue() to avoid it.
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions
