projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
756aa6b
)
USB: io_ti: sleep with spinlock held detected by automatic tool
author
Oliver Neukum
<oneukum@suse.de>
Tue, 5 Jun 2007 08:50:48 +0000
(10:50 +0200)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Thu, 12 Jul 2007 23:34:31 +0000
(16:34 -0700)
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>
drivers/usb/serial/io_ti.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/serial/io_ti.c
b/drivers/usb/serial/io_ti.c
index 0bd34f8a5db66a478aecab97fef62438d6b29c37..fbc2e024c335e79bdd6b9cbc2ef87ce4766b48ad 100644
(file)
--- 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;