summaryrefslogtreecommitdiff
path: root/drivers/usb/serial/io_ti.c
diff options
context:
space:
mode:
authorOliver Neukum <oneukum@suse.de>2007-06-05 10:50:48 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2007-07-12 16:34:31 -0700
commitefdff60885e36b5091cdc47742dd5768ff4119be (patch)
treee9ac302dcd47d46f3b29edea44aa0e6aff395f0f /drivers/usb/serial/io_ti.c
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/io_ti.c')
-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)
urb->complete = edge_bulk_in_callback;
urb->context = edge_port;
urb->dev = edge_port->port->serial->dev;
- status = usb_submit_urb(urb, GFP_KERNEL);
+ status = usb_submit_urb(urb, GFP_ATOMIC);
}
edge_port->ep_read_urb_state = EDGE_READ_URB_RUNNING;
edge_port->shadow_mcr |= MCR_RTS;