9cc300621fe86a59e2fa4a4e67bd4a315b5ddd44
[openwrt/staging/yousong.git] / target / linux / brcm63xx / patches-2.6.32 / 260-no_ehci_over_current_check.patch
1 --- a/drivers/usb/host/ehci-hub.c
2 +++ b/drivers/usb/host/ehci-hub.c
3 @@ -741,11 +741,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!! */