[uml] update to 3.0.1
[openwrt.git] / target / linux / brcm63xx / patches-3.1 / 210-no_ehci_over_current_check.patch
1 --- a/drivers/usb/host/ehci-hub.c
2 +++ b/drivers/usb/host/ehci-hub.c
3 @@ -816,12 +816,14 @@ static int ehci_hub_control (
4                          * power switching; they're allowed to just limit the
5                          * current.  khubd will turn the power back on.
6                          */
7 +#ifndef CONFIG_BCM63XX
8                         if ((temp & PORT_OC) && HCS_PPC(ehci->hcs_params)) {
9                                 ehci_writel(ehci,
10                                         temp & ~(PORT_RWC_BITS | PORT_POWER),
11                                         status_reg);
12                                 temp = ehci_readl(ehci, status_reg);
13                         }
14 +#endif
15                 }
16  
17                 /* whoever resumes must GetPortStatus to complete it!! */