Ver Fonte

gemini: remove usage of ehci_port_power() it was removed in kernel 3.8

SVN-Revision: 36138
Hauke Mehrtens há 12 anos atrás
pai
commit
b4eabad019

+ 2 - 8
target/linux/gemini/patches/130-usb-ehci-gemini-fot2gxx-support.patch

@@ -1,6 +1,6 @@
 --- /dev/null
 +++ b/drivers/usb/host/ehci-fotg2xx.c
-@@ -0,0 +1,465 @@
+@@ -0,0 +1,459 @@
 +/*
 + *  EHCI Host Controller driver
 + *
@@ -176,13 +176,7 @@
 +	if (result)
 +		return result;
 +
-+	result = ehci_init(hcd);
-+	if (result)
-+		return result;
-+
-+	ehci_port_power(ehci, 0);
-+
-+	return result;
++	return ehci_init(hcd);
 +}
 +
 +/*