summaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/patches-3.7/a01-revert-ehci-port_power_off-removal.patch
blob: c4d12f13d54518cfc32dbf2b94a7ece79da9aae5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
reverted:
--- a/arch/mips/ralink/rt3883/devices.c
+++ b/arch/mips/ralink/rt3883/devices.c
@@ -177,6 +177,7 @@ static void rt3883_usb_power_off(struct
 }
 
 static struct usb_ehci_pdata rt3883_ehci_data = {
+	.port_power_off	= 1,
 	.power_on	= rt3883_usb_power_on,
 	.power_off	= rt3883_usb_power_off,
 };
--- a/arch/mips/ralink/rt305x/devices.c
+++ b/arch/mips/ralink/rt305x/devices.c
@@ -356,6 +356,7 @@ static void rt3352_usb_power_off(struct
 }
 
 static struct usb_ehci_pdata rt3352_ehci_data = {
+	.port_power_off	= 1,
 	.power_on	= rt3352_usb_power_on,
 	.power_off	= rt3352_usb_power_off,
 };