aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial
diff options
context:
space:
mode:
authorOliver Neukum <oneukum@suse.de>2007-06-05 04:50:48 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2007-07-12 19:34:31 -0400
commitefdff60885e36b5091cdc47742dd5768ff4119be (patch)
treee9ac302dcd47d46f3b29edea44aa0e6aff395f0f /drivers/usb/serial
parent756aa6b3d536afe85e151138cb03a293998887b3 (diff)
USB: io_ti: sleep with spinlock held detected by automatic tool
this fixes the sleep found with the automatic tool. Signed-off-by: Oliver Neukum <oneukum@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/serial')
-rw-r--r--drivers/usb/serial/io_ti.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/serial/io_ti.c b/drivers/usb/serial/io_ti.c
index 0bd34f8a5db6..fbc2e024c335 100644
--- a/drivers/usb/serial/io_ti.c
+++ b/drivers/usb/serial/io_ti.c
@@ -2364,7 +2364,7 @@ static int restart_read(struct edgeport_port *edge_port)
2364 urb->complete = edge_bulk_in_callback; 2364 urb->complete = edge_bulk_in_callback;
2365 urb->context = edge_port; 2365 urb->context = edge_port;
2366 urb->dev = edge_port->port->serial->dev; 2366 urb->dev = edge_port->port->serial->dev;
2367 status = usb_submit_urb(urb, GFP_KERNEL); 2367 status = usb_submit_urb(urb, GFP_ATOMIC);
2368 } 2368 }
2369 edge_port->ep_read_urb_state = EDGE_READ_URB_RUNNING; 2369 edge_port->ep_read_urb_state = EDGE_READ_URB_RUNNING;
2370 edge_port->shadow_mcr |= MCR_RTS; 2370 edge_port->shadow_mcr |= MCR_RTS;