projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ehci-hub: use USB_DT_HUB
[cascardo/linux.git]
/
drivers
/
usb
/
host
/
ehci-hub.c
diff --git
a/drivers/usb/host/ehci-hub.c
b/drivers/usb/host/ehci-hub.c
index
87cf86f
..
d7b4b51
100644
(file)
--- a/
drivers/usb/host/ehci-hub.c
+++ b/
drivers/usb/host/ehci-hub.c
@@
-688,7
+688,7
@@
ehci_hub_descriptor (
int ports = HCS_N_PORTS (ehci->hcs_params);
u16 temp;
- desc->bDescriptorType =
0x29
;
+ desc->bDescriptorType =
USB_DT_HUB
;
desc->bPwrOn2PwrGood = 10; /* ehci 1.0, 2.3.9 says 20ms max */
desc->bHubContrCurrent = 0;