[brcm63xx] improve BCM6345 support
[openwrt.git] / target / linux / brcm63xx / patches-3.0 / 210-no_ehci_over_current_check.patch
1 --- a/drivers/usb/host/ehci-hub.c
2 +++ b/drivers/usb/host/ehci-hub.c
3 @@ -891,11 +891,13 @@ 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 (HCS_PPC (ehci->hcs_params)){
9                                 ehci_writel(ehci,
10                                         temp & ~(PORT_RWC_BITS | PORT_POWER),
11                                         status_reg);
12                         }
13 +#endif
14                 }
15  
16                 /* whoever resumes must GetPortStatus to complete it!! */