diff options
author | Jiri Kosina <jkosina@suse.cz> | 2014-02-20 08:54:28 -0500 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2014-02-20 08:54:28 -0500 |
commit | d4263348f796f29546f90802177865dd4379dd0a (patch) | |
tree | adcbdaebae584eee2f32fab95e826e8e49eef385 /drivers/usb/core/message.c | |
parent | be873ac782f5ff5ee6675f83929f4fe6737eead2 (diff) | |
parent | 6d0abeca3242a88cab8232e4acd7e2bf088f3bc2 (diff) |
Merge branch 'master' into for-next
Diffstat (limited to 'drivers/usb/core/message.c')
-rw-r--r-- | drivers/usb/core/message.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/usb/core/message.c b/drivers/usb/core/message.c index 874d1a406ebc..5239e5163074 100644 --- a/drivers/usb/core/message.c +++ b/drivers/usb/core/message.c | |||
@@ -6,7 +6,6 @@ | |||
6 | #include <linux/usb.h> | 6 | #include <linux/usb.h> |
7 | #include <linux/module.h> | 7 | #include <linux/module.h> |
8 | #include <linux/slab.h> | 8 | #include <linux/slab.h> |
9 | #include <linux/init.h> | ||
10 | #include <linux/mm.h> | 9 | #include <linux/mm.h> |
11 | #include <linux/timer.h> | 10 | #include <linux/timer.h> |
12 | #include <linux/ctype.h> | 11 | #include <linux/ctype.h> |
@@ -218,7 +217,7 @@ EXPORT_SYMBOL_GPL(usb_interrupt_msg); | |||
218 | * | 217 | * |
219 | * Return: | 218 | * Return: |
220 | * If successful, 0. Otherwise a negative error number. The number of actual | 219 | * If successful, 0. Otherwise a negative error number. The number of actual |
221 | * bytes transferred will be stored in the @actual_length paramater. | 220 | * bytes transferred will be stored in the @actual_length parameter. |
222 | * | 221 | * |
223 | */ | 222 | */ |
224 | int usb_bulk_msg(struct usb_device *usb_dev, unsigned int pipe, | 223 | int usb_bulk_msg(struct usb_device *usb_dev, unsigned int pipe, |
@@ -518,7 +517,7 @@ void usb_sg_wait(struct usb_sg_request *io) | |||
518 | io->urbs[i]->dev = io->dev; | 517 | io->urbs[i]->dev = io->dev; |
519 | retval = usb_submit_urb(io->urbs[i], GFP_ATOMIC); | 518 | retval = usb_submit_urb(io->urbs[i], GFP_ATOMIC); |
520 | 519 | ||
521 | /* after we submit, let completions or cancelations fire; | 520 | /* after we submit, let completions or cancellations fire; |
522 | * we handshake using io->status. | 521 | * we handshake using io->status. |
523 | */ | 522 | */ |
524 | spin_unlock_irq(&io->lock); | 523 | spin_unlock_irq(&io->lock); |