513ff999a0d64fc3a200f83cd5eaf5c3f86a892c
[openwrt/svn-archive/archive.git] / target / linux / brcm63xx / patches-2.6.37 / 210-no_ehci_over_current_check.patch
1 --- a/drivers/usb/host/ehci-hub.c
2 +++ b/drivers/usb/host/ehci-hub.c
3 @@ -882,11 +882,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!! */