firewall: update to git head
[openwrt.git] / target / linux / lantiq / patches-3.7 / 0123-USB-fix-roothub-for-IFXHCD.patch
1 From 1b6941ae603f2885e6cf729119ef753deb7eb835 Mon Sep 17 00:00:00 2001
2 From: John Crispin <blogic@openwrt.org>
3 Date: Thu, 6 Dec 2012 19:59:53 +0100
4 Subject: [PATCH 123/123] USB: fix roothub for IFXHCD
5
6 ---
7  drivers/usb/core/hub.c |    2 +-
8  1 file changed, 1 insertion(+), 1 deletion(-)
9
10 --- a/drivers/usb/core/hub.c
11 +++ b/drivers/usb/core/hub.c
12 @@ -3940,7 +3940,7 @@ hub_port_init (struct usb_hub *hub, stru
13                 udev->ttport = hdev->ttport;
14         } else if (udev->speed != USB_SPEED_HIGH
15                         && hdev->speed == USB_SPEED_HIGH) {
16 -               if (!hub->tt.hub) {
17 +               if (hdev->parent && !hub->tt.hub) {
18                         dev_err(&udev->dev, "parent hub has no TT\n");
19                         retval = -EINVAL;
20                         goto fail;
21 --- a/arch/mips/lantiq/Kconfig
22 +++ b/arch/mips/lantiq/Kconfig
23 @@ -3,6 +3,7 @@ if LANTIQ
24  config SOC_TYPE_XWAY
25         bool
26         select PINCTRL_XWAY
27 +       select USB_ARCH_HAS_HCD
28         default n
29  
30  choice