diff options
author | Peter Hung <hpeter@gmail.com> | 2015-03-17 12:48:21 +0300 |
---|---|---|
committer | Johan Hovold <johan@kernel.org> | 2015-03-27 19:29:26 +0300 |
commit | 7139c932859f5b35b5a928b445e03f5a43610fa7 (patch) | |
tree | 3340210ec92e0a07eabf2121aeb15572033fb2b2 /drivers/usb/serial/ipaq.c | |
parent | 8885078949fbb78c6be39ed2c653e4e883568e2f (diff) | |
download | linux-7139c932859f5b35b5a928b445e03f5a43610fa7.tar.xz |
USB: f81232: change lock mechanism
The original driver lock with spin_lock_irqsave()/spin_unlock_irqrestore()
because of it's maybe used in interrupt context f81232_process_read_urb().
We had remove it from previous patch "implement RX bulk-in EP", so we can
change it from busying loop spin_lock to sleepable mutex_lock.
Signed-off-by: Peter Hung <hpeter+linux_kernel@gmail.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'drivers/usb/serial/ipaq.c')
0 files changed, 0 insertions, 0 deletions