projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
xhci: fix reporting of 0-sized URBs in control endpoint
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
usb
/
host
/
xhci.h
diff --git
a/drivers/usb/host/xhci.h
b/drivers/usb/host/xhci.h
index 3b97f05821557c6c42fe24b12718a3faf61c443f..d0663931e5baf9aeea461c46bd2c36249b3c277f 100644
(file)
--- a/
drivers/usb/host/xhci.h
+++ b/
drivers/usb/host/xhci.h
@@
-1,3
+1,4
@@
+
/*
* xHCI host controller driver
*
@@
-1291,6
+1292,8
@@
struct xhci_td {
struct xhci_segment *start_seg;
union xhci_trb *first_trb;
union xhci_trb *last_trb;
+ /* actual_length of the URB has already been set */
+ bool urb_length_set;
};
/* xHCI command default timeout value */