diff options
author | Jiri Kosina <jkosina@suse.cz> | 2007-10-20 00:05:19 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-10-25 12:18:45 -0700 |
commit | acd2a847e7fee7df11817f67dba75a2802793e5d (patch) | |
tree | 7eba6fe6c15f5f11ffdec779c9979f1ec6b4c6b9 /drivers/usb/gadget/amd5536udc.c | |
parent | 8a28dea3accda319d51a1bf4d3e280771d946f78 (diff) |
USB: usbserial - fix potential deadlock between write() and IRQ
USB: usbserial - fix potential deadlock between write() and IRQ
usb_serial_generic_write() doesn't disable interrupts when taking port->lock,
and could therefore deadlock with usb_serial_generic_read_bulk_callback()
being called from interrupt, taking the same lock. Fix it.
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Acked-by: Larry Finger <larry.finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/gadget/amd5536udc.c')
0 files changed, 0 insertions, 0 deletions