diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/usb/host/xhci.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/usb/host/xhci.c b/drivers/usb/host/xhci.c index e64637b..67e29d9 100644 --- a/drivers/usb/host/xhci.c +++ b/drivers/usb/host/xhci.c @@ -773,6 +773,13 @@ static int xhci_submit_root(struct usb_device *udev, unsigned long pipe, tmpbuf[1] |= USB_PORT_STAT_SUPER_SPEED >> 8; break; } + +/* TODO: fix issue and remove the following code. Do not push upstream! */ +#if defined(CONFIG_TARGET_GRAPEBOARD) + if(!(tmpbuf[1] & (USB_PORT_STAT_SUPER_SPEED >> 8))) { + goto unknown; + } +#endif } if (reg & PORT_PE) tmpbuf[0] |= USB_PORT_STAT_ENABLE; |