wusbhc: disable suspend and resume on the root hub.
authorThomas Pugliese <thomas.pugliese@gmail.com>
Thu, 6 Jun 2013 18:42:54 +0000 (13:42 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Jun 2013 19:14:38 +0000 (12:14 -0700)
Suspend and resume are not currently supported on the wireless root hub.
Remove the suspend and resume op functions in the host controller driver
to avoid constant error messages in the system log.

Signed-off-by: Thomas Pugliese <thomas.pugliese@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/hwa-hc.c
drivers/usb/host/whci/hcd.c
drivers/usb/wusbcore/rh.c
drivers/usb/wusbcore/wusbhc.h

index 1452dd5952a64de268e2772a215978c06e5e78c7..c0df599b77899aec7d424567d3ed19f0eb506017 100644 (file)
@@ -588,8 +588,6 @@ static struct hc_driver hwahc_hc_driver = {
 
        .hub_status_data = wusbhc_rh_status_data,
        .hub_control = wusbhc_rh_control,
-       .bus_suspend = wusbhc_rh_suspend,
-       .bus_resume = wusbhc_rh_resume,
        .start_port_reset = wusbhc_rh_start_port_reset,
 };
 
index c3a647816af0b7b690172cbf4e90799b47718dd3..ecc88db804e008ba4b7eacb48f68aa1c6a49ded4 100644 (file)
@@ -231,8 +231,6 @@ static struct hc_driver whc_hc_driver = {
 
        .hub_status_data = wusbhc_rh_status_data,
        .hub_control = wusbhc_rh_control,
-       .bus_suspend = wusbhc_rh_suspend,
-       .bus_resume = wusbhc_rh_resume,
        .start_port_reset = wusbhc_rh_start_port_reset,
 };
 
index 59ff254dfb6fc294108824da98cf36b2883f753f..bdb0cc3046b5f598d5e6540155bcfea4982bc0f1 100644 (file)
@@ -393,26 +393,6 @@ int wusbhc_rh_control(struct usb_hcd *usb_hcd, u16 reqntype, u16 wValue,
 }
 EXPORT_SYMBOL_GPL(wusbhc_rh_control);
 
-int wusbhc_rh_suspend(struct usb_hcd *usb_hcd)
-{
-       struct wusbhc *wusbhc = usb_hcd_to_wusbhc(usb_hcd);
-       dev_err(wusbhc->dev, "%s (%p [%p]) UNIMPLEMENTED\n", __func__,
-               usb_hcd, wusbhc);
-       /* dump_stack(); */
-       return -ENOSYS;
-}
-EXPORT_SYMBOL_GPL(wusbhc_rh_suspend);
-
-int wusbhc_rh_resume(struct usb_hcd *usb_hcd)
-{
-       struct wusbhc *wusbhc = usb_hcd_to_wusbhc(usb_hcd);
-       dev_err(wusbhc->dev, "%s (%p [%p]) UNIMPLEMENTED\n", __func__,
-               usb_hcd, wusbhc);
-       /* dump_stack(); */
-       return -ENOSYS;
-}
-EXPORT_SYMBOL_GPL(wusbhc_rh_resume);
-
 int wusbhc_rh_start_port_reset(struct usb_hcd *usb_hcd, unsigned port_idx)
 {
        struct wusbhc *wusbhc = usb_hcd_to_wusbhc(usb_hcd);
index 3a2d09162e70f2d6480bf0f7f1ea3b19e48c07b2..b4a4fa7c51318c47b3297c1876ab3003ed1f0824 100644 (file)
@@ -399,8 +399,6 @@ extern void wusbhc_rh_destroy(struct wusbhc *);
 
 extern int wusbhc_rh_status_data(struct usb_hcd *, char *);
 extern int wusbhc_rh_control(struct usb_hcd *, u16, u16, u16, char *, u16);
-extern int wusbhc_rh_suspend(struct usb_hcd *);
-extern int wusbhc_rh_resume(struct usb_hcd *);
 extern int wusbhc_rh_start_port_reset(struct usb_hcd *, unsigned);
 
 /* MMC handling */
This page took 0.027889 seconds and 5 git commands to generate.