[U-Boot] [PATCH v2 1/6] usb : musb : Record speed of high speed devices connected to hub

Thomas Abraham t-abraham at ti.com
Thu Dec 18 00:10:30 CET 2008


For high spped devices that are connected via hubs, the information
that the device is high speed is recorded. This is required by Mentor
USB Host controller driver.

Signed-off-by: Ravi Babu <ravibabu at ti.com>
Signed-off-by: Swaminathan S <swami.iyer at ti.com>
Signed-off-by: Thomas Abraham <t-abraham at ti.com>
Signed-off-by: Ajay Kumar Gupta <ajay.gupta at ti.com>
---
 common/usb.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/common/usb.c b/common/usb.c
index 3138452..83d0754 100644
--- a/common/usb.c
+++ b/common/usb.c
@@ -1137,6 +1137,7 @@ void usb_hub_port_connect_change(struct usb_device *dev, int port)
 	/* Allocate a new device struct for it */
 	usb = usb_alloc_new_device();
 	usb->speed = (portstatus & USB_PORT_STAT_LOW_SPEED) ? 1 : 0;
+	usb->speed = (portstatus & USB_PORT_STAT_HIGH_SPEED) ? 1 : 0;
 
 	dev->children[port] = usb;
 	usb->parent = dev;
-- 
1.5.6



More information about the U-Boot mailing list