diff options
author | Florian Fainelli <florian@openwrt.org> | 2011-02-20 19:59:22 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2011-02-20 19:59:22 +0000 |
commit | 94a22b91fc2acb3d28882c4660d0a7505a9b5d2e (patch) | |
tree | 6e86ad37d505b7be2c195f726d5d0997724c4168 /target/linux/brcm63xx/patches-2.6.37/260-no_ehci_over_current_check.patch | |
parent | 7f75ed29399b99d7e28936c7551fb7be277676d6 (diff) | |
download | mtk-20170518-94a22b91fc2acb3d28882c4660d0a7505a9b5d2e.zip mtk-20170518-94a22b91fc2acb3d28882c4660d0a7505a9b5d2e.tar.gz mtk-20170518-94a22b91fc2acb3d28882c4660d0a7505a9b5d2e.tar.bz2 |
add support for 2.6.37, patches from KanjiMonster
SVN-Revision: 25629
Diffstat (limited to 'target/linux/brcm63xx/patches-2.6.37/260-no_ehci_over_current_check.patch')
-rw-r--r-- | target/linux/brcm63xx/patches-2.6.37/260-no_ehci_over_current_check.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/target/linux/brcm63xx/patches-2.6.37/260-no_ehci_over_current_check.patch b/target/linux/brcm63xx/patches-2.6.37/260-no_ehci_over_current_check.patch new file mode 100644 index 0000000..816343e --- /dev/null +++ b/target/linux/brcm63xx/patches-2.6.37/260-no_ehci_over_current_check.patch @@ -0,0 +1,16 @@ +--- a/drivers/usb/host/ehci-hub.c ++++ b/drivers/usb/host/ehci-hub.c +@@ -861,11 +861,13 @@ static int ehci_hub_control ( + * power switching; they're allowed to just limit the + * current. khubd will turn the power back on. + */ ++#ifndef CONFIG_BCM63XX + if (HCS_PPC (ehci->hcs_params)){ + ehci_writel(ehci, + temp & ~(PORT_RWC_BITS | PORT_POWER), + status_reg); + } ++#endif + } + + /* whoever resumes must GetPortStatus to complete it!! */ |