Skip to contentSkip to conversation

usb: remove unnecessary CONFIG_PM dependency from USB_OTG

PATCH RESEND Superseded Nathan Sullivan 1 participant 1 message Oct 21, 2015 USB

v1 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

PATCH RESEND 1/1 usb: remove unnecessary CONFIG_PM dependency from USB_OTG

From: Ben Shelton <[email protected]>

The USB gadget support currently depends on power management (CONFIG_PM) being enabled, but does not actually need it enabled. Remove this dependency.

Tested on Bay Trail hardware with dwc3 USB.

---
 drivers/usb/core/Kconfig |    1 -
 1 file changed, 1 deletion(-)
drivers/usb/core/Kconfig +0 -1
index a99c89e..9c5cdf3 100644
@@ -43,7 +43,6 @@ config USB_DYNAMIC_MINORS
 
 config USB_OTG
 	bool "OTG support"
-	depends on PM
 	default n
 	help
 	  The most notable feature of USB OTG is support for a
Signature · 1 line
1.7.10.4