[lantiq] add phy-reset gpio handling to xrx200-net
[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 Index: linux-3.7-rc8/drivers/usb/core/hub.c
11 ===================================================================
12 --- linux-3.7-rc8.orig/drivers/usb/core/hub.c   2012-12-03 20:22:37.000000000 +0100
13 +++ linux-3.7-rc8/drivers/usb/core/hub.c        2012-12-10 23:37:16.658956109 +0100
14 @@ -3839,7 +3839,7 @@
15                 udev->ttport = hdev->ttport;
16         } else if (udev->speed != USB_SPEED_HIGH
17                         && hdev->speed == USB_SPEED_HIGH) {
18 -               if (!hub->tt.hub) {
19 +               if (hdev->parent && !hub->tt.hub) {
20                         dev_err(&udev->dev, "parent hub has no TT\n");
21                         retval = -EINVAL;
22                         goto fail;
23 Index: linux-3.7-rc8/arch/mips/lantiq/Kconfig
24 ===================================================================
25 --- linux-3.7-rc8.orig/arch/mips/lantiq/Kconfig 2012-12-10 23:37:16.622956108 +0100
26 +++ linux-3.7-rc8/arch/mips/lantiq/Kconfig      2012-12-11 13:58:10.816251053 +0100
27 @@ -3,6 +3,7 @@
28  config SOC_TYPE_XWAY
29         bool
30         select PINCTRL_XWAY
31 +       select USB_ARCH_HAS_HCD
32         default n
33  
34  choice