summaryrefslogtreecommitdiffstats
path: root/drivers/usb/uhci.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/uhci.c')
-rw-r--r--drivers/usb/uhci.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/usb/uhci.c b/drivers/usb/uhci.c
index b45826937..4c82d50b5 100644
--- a/drivers/usb/uhci.c
+++ b/drivers/usb/uhci.c
@@ -156,7 +156,8 @@ static int uhci_td_result(struct uhci_device *dev, struct uhci_td *td, unsigned
if (rval)
*rval += actlength;
- if (explength != actlength && tmp->pipetype == PIPE_BULK) {
+ if (explength != actlength &&
+ ((tmp->pipetype == PIPE_BULK) || (tmp->pipetype == PIPE_CONTROL))) {
/* If the packet is short, none of the */
/* packets after this were processed, so */
/* fix the DT accordingly */