Commit 98f541c6 authored by Alan Stern's avatar Alan Stern Committed by Greg Kroah-Hartman

USB: remove remaining instances of USB_SUSPEND

Commit 84ebc102 (USB: remove
CONFIG_USB_SUSPEND option) failed to remove all of the usages of
USB_SUSPEND throughout the kernel.  This patch (as1677) removes the
remaining instances of that symbol.
Signed-off-by: default avatarAlan Stern <stern@rowland.harvard.edu>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 815fa7b9
...@@ -199,7 +199,6 @@ CONFIG_USB_PHY=y ...@@ -199,7 +199,6 @@ CONFIG_USB_PHY=y
CONFIG_USB_DEBUG=y CONFIG_USB_DEBUG=y
CONFIG_USB_DEVICEFS=y CONFIG_USB_DEVICEFS=y
# CONFIG_USB_DEVICE_CLASS is not set # CONFIG_USB_DEVICE_CLASS is not set
CONFIG_USB_SUSPEND=y
CONFIG_USB_MON=y CONFIG_USB_MON=y
CONFIG_USB_OHCI_HCD=y CONFIG_USB_OHCI_HCD=y
CONFIG_USB_STORAGE=y CONFIG_USB_STORAGE=y
......
...@@ -204,7 +204,6 @@ CONFIG_USB=y ...@@ -204,7 +204,6 @@ CONFIG_USB=y
CONFIG_USB_DEBUG=y CONFIG_USB_DEBUG=y
CONFIG_USB_ANNOUNCE_NEW_DEVICES=y CONFIG_USB_ANNOUNCE_NEW_DEVICES=y
CONFIG_USB_DEVICEFS=y CONFIG_USB_DEVICEFS=y
CONFIG_USB_SUSPEND=y
CONFIG_USB_MON=y CONFIG_USB_MON=y
CONFIG_USB_WDM=y CONFIG_USB_WDM=y
CONFIG_USB_STORAGE=y CONFIG_USB_STORAGE=y
......
...@@ -228,7 +228,6 @@ CONFIG_HIDRAW=y ...@@ -228,7 +228,6 @@ CONFIG_HIDRAW=y
CONFIG_USB_HID=y CONFIG_USB_HID=y
CONFIG_USB_SUPPORT=y CONFIG_USB_SUPPORT=y
CONFIG_USB=y CONFIG_USB=y
CONFIG_USB_SUSPEND=y
CONFIG_USB_EHCI_HCD=y CONFIG_USB_EHCI_HCD=y
CONFIG_USB_EHCI_ROOT_HUB_TT=y CONFIG_USB_EHCI_ROOT_HUB_TT=y
CONFIG_USB_EHCI_TT_NEWSCHED=y CONFIG_USB_EHCI_TT_NEWSCHED=y
......
...@@ -344,7 +344,6 @@ CONFIG_UHID=y ...@@ -344,7 +344,6 @@ CONFIG_UHID=y
CONFIG_USB_HIDDEV=y CONFIG_USB_HIDDEV=y
CONFIG_USB=y CONFIG_USB=y
CONFIG_USB_DYNAMIC_MINORS=y CONFIG_USB_DYNAMIC_MINORS=y
CONFIG_USB_SUSPEND=y
CONFIG_USB_EHCI_HCD=y CONFIG_USB_EHCI_HCD=y
CONFIG_USB_EHCI_HCD_PLATFORM=y CONFIG_USB_EHCI_HCD_PLATFORM=y
CONFIG_USB_EHCI_ROOT_HUB_TT=y CONFIG_USB_EHCI_ROOT_HUB_TT=y
......
...@@ -300,7 +300,6 @@ CONFIG_USB=y ...@@ -300,7 +300,6 @@ CONFIG_USB=y
CONFIG_USB_DEVICEFS=y CONFIG_USB_DEVICEFS=y
# CONFIG_USB_DEVICE_CLASS is not set # CONFIG_USB_DEVICE_CLASS is not set
CONFIG_USB_DYNAMIC_MINORS=y CONFIG_USB_DYNAMIC_MINORS=y
CONFIG_USB_SUSPEND=y
CONFIG_USB_OTG_WHITELIST=y CONFIG_USB_OTG_WHITELIST=y
CONFIG_USB_MON=y CONFIG_USB_MON=y
CONFIG_USB_EHCI_HCD=y CONFIG_USB_EHCI_HCD=y
......
...@@ -136,7 +136,6 @@ CONFIG_HID_SMARTJOYPLUS=m ...@@ -136,7 +136,6 @@ CONFIG_HID_SMARTJOYPLUS=m
CONFIG_USB_HIDDEV=y CONFIG_USB_HIDDEV=y
CONFIG_USB=m CONFIG_USB=m
CONFIG_USB_ANNOUNCE_NEW_DEVICES=y CONFIG_USB_ANNOUNCE_NEW_DEVICES=y
CONFIG_USB_SUSPEND=y
CONFIG_USB_MON=m CONFIG_USB_MON=m
CONFIG_USB_EHCI_HCD=m CONFIG_USB_EHCI_HCD=m
# CONFIG_USB_EHCI_HCD_PPC_OF is not set # CONFIG_USB_EHCI_HCD_PPC_OF is not set
......
...@@ -1477,7 +1477,7 @@ usbnet_probe (struct usb_interface *udev, const struct usb_device_id *prod) ...@@ -1477,7 +1477,7 @@ usbnet_probe (struct usb_interface *udev, const struct usb_device_id *prod)
/* usbnet already took usb runtime pm, so have to enable the feature /* usbnet already took usb runtime pm, so have to enable the feature
* for usb interface, otherwise usb_autopm_get_interface may return * for usb interface, otherwise usb_autopm_get_interface may return
* failure if USB_SUSPEND(RUNTIME_PM) is enabled. * failure if RUNTIME_PM is enabled.
*/ */
if (!driver->supports_autosuspend) { if (!driver->supports_autosuspend) {
driver->supports_autosuspend = 1; driver->supports_autosuspend = 1;
......
...@@ -39,7 +39,7 @@ if WIMAX_GDM72XX_USB ...@@ -39,7 +39,7 @@ if WIMAX_GDM72XX_USB
config WIMAX_GDM72XX_USB_PM config WIMAX_GDM72XX_USB_PM
bool "Enable power managerment support" bool "Enable power managerment support"
depends on USB_SUSPEND depends on PM_RUNTIME
endif # WIMAX_GDM72XX_USB endif # WIMAX_GDM72XX_USB
......
...@@ -51,7 +51,7 @@ config USB_DYNAMIC_MINORS ...@@ -51,7 +51,7 @@ config USB_DYNAMIC_MINORS
config USB_OTG config USB_OTG
bool "OTG support" bool "OTG support"
depends on USB_SUSPEND depends on PM_RUNTIME
default n default n
help help
The most notable feature of USB OTG is support for a The most notable feature of USB OTG is support for a
......
...@@ -1739,7 +1739,7 @@ static int isp1760_hub_status_data(struct usb_hcd *hcd, char *buf) ...@@ -1739,7 +1739,7 @@ static int isp1760_hub_status_data(struct usb_hcd *hcd, char *buf)
int retval = 1; int retval = 1;
unsigned long flags; unsigned long flags;
/* if !USB_SUSPEND, root hub timers won't get shut down ... */ /* if !PM_RUNTIME, root hub timers won't get shut down ... */
if (!HC_IS_RUNNING(hcd->state)) if (!HC_IS_RUNNING(hcd->state))
return 0; return 0;
......
...@@ -3084,7 +3084,7 @@ static int oxu_hub_status_data(struct usb_hcd *hcd, char *buf) ...@@ -3084,7 +3084,7 @@ static int oxu_hub_status_data(struct usb_hcd *hcd, char *buf)
int ports, i, retval = 1; int ports, i, retval = 1;
unsigned long flags; unsigned long flags;
/* if !USB_SUSPEND, root hub timers won't get shut down ... */ /* if !PM_RUNTIME, root hub timers won't get shut down ... */
if (!HC_IS_RUNNING(hcd->state)) if (!HC_IS_RUNNING(hcd->state))
return 0; return 0;
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
* and usb-storage. * and usb-storage.
* *
* TODO: * TODO:
* - usb suspend/resume triggered by sl811 (with USB_SUSPEND) * - usb suspend/resume triggered by sl811 (with PM_RUNTIME)
* - various issues noted in the code * - various issues noted in the code
* - performance work; use both register banks; ... * - performance work; use both register banks; ...
* - use urb->iso_frame_desc[] with ISO transfers * - use urb->iso_frame_desc[] with ISO transfers
......
...@@ -25,7 +25,7 @@ config AB8500_USB ...@@ -25,7 +25,7 @@ config AB8500_USB
config FSL_USB2_OTG config FSL_USB2_OTG
bool "Freescale USB OTG Transceiver Driver" bool "Freescale USB OTG Transceiver Driver"
depends on USB_EHCI_FSL && USB_FSL_USB2 && USB_SUSPEND depends on USB_EHCI_FSL && USB_FSL_USB2 && PM_RUNTIME
select USB_OTG select USB_OTG
help help
Enable this to support Freescale USB OTG transceiver. Enable this to support Freescale USB OTG transceiver.
...@@ -161,7 +161,7 @@ config USB_MSM_OTG ...@@ -161,7 +161,7 @@ config USB_MSM_OTG
config USB_MV_OTG config USB_MV_OTG
tristate "Marvell USB OTG support" tristate "Marvell USB OTG support"
depends on USB_EHCI_MV && USB_MV_UDC && USB_SUSPEND depends on USB_EHCI_MV && USB_MV_UDC && PM_RUNTIME
select USB_OTG select USB_OTG
help help
Say Y here if you want to build Marvell USB OTG transciever Say Y here if you want to build Marvell USB OTG transciever
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment