svn commit: r232123 - projects/armv6/sys/arm/ti/usb
Olivier Houchard
cognet at FreeBSD.org
Fri Feb 24 18:58:02 UTC 2012
Author: cognet
Date: Fri Feb 24 18:58:01 2012
New Revision: 232123
URL: http://svn.freebsd.org/changeset/base/232123
Log:
No need to call ehci_[resume|suspend|shutdown] explicitely anymore, I kept
the corresponding omap_* functions instead of just using bus_generic_* so
that a brave soul can implement them properly.
Modified:
projects/armv6/sys/arm/ti/usb/omap_ehci.c
Modified: projects/armv6/sys/arm/ti/usb/omap_ehci.c
==============================================================================
--- projects/armv6/sys/arm/ti/usb/omap_ehci.c Fri Feb 24 18:57:20 2012 (r232122)
+++ projects/armv6/sys/arm/ti/usb/omap_ehci.c Fri Feb 24 18:58:01 2012 (r232123)
@@ -667,10 +667,10 @@ omap_ehci_suspend(device_t dev)
ehci_softc_t *sc = device_get_softc(dev);
int err;
+ sc = sc;
err = bus_generic_suspend(dev);
if (err)
return (err);
- ehci_suspend(sc);
return (0);
}
@@ -691,8 +691,7 @@ static int
omap_ehci_resume(device_t dev)
{
ehci_softc_t *sc = device_get_softc(dev);
-
- ehci_resume(sc);
+ sc = sc;
bus_generic_resume(dev);
@@ -718,10 +717,10 @@ omap_ehci_shutdown(device_t dev)
ehci_softc_t *sc = device_get_softc(dev);
int err;
+ sc = sc;
err = bus_generic_shutdown(dev);
if (err)
return (err);
- ehci_shutdown(sc);
return (0);
}
More information about the svn-src-projects
mailing list