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:
b53d657
)
usb: redefine DeviceRemovable and wHubDelay as _le16
author
Lan Tianyu
<tianyu.lan@intel.com>
Mon, 10 Sep 2012 13:24:41 +0000
(21:24 +0800)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Mon, 10 Sep 2012 18:14:32 +0000
(11:14 -0700)
DeviceRemovalbe and wHubDelay for usb3.0 hub are little-endian
and so define them as _le16.
Signed-off-by: Lan Tianyu <tianyu.lan@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/usb/ch11.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/usb/ch11.h
b/include/linux/usb/ch11.h
index b6c2863b2c942cafec851abd791a8d93efe13f3b..7692dc69ccf7aeeb16ebc682b57d519c56642ba1 100644
(file)
--- a/
include/linux/usb/ch11.h
+++ b/
include/linux/usb/ch11.h
@@
-236,8
+236,8
@@
struct usb_hub_descriptor {
struct {
__u8 bHubHdrDecLat;
- __
u
16 wHubDelay;
- __
u
16 DeviceRemovable;
+ __
le
16 wHubDelay;
+ __
le
16 DeviceRemovable;
} __attribute__ ((packed)) ss;
} u;
} __attribute__ ((packed));