public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] usb: remove unnecessary CONFIG_PM dependency from USB_OTG
@ 2015-10-05 19:13 Nathan Sullivan
  2015-10-05 19:33 ` Felipe Balbi
  0 siblings, 1 reply; 3+ messages in thread
From: Nathan Sullivan @ 2015-10-05 19:13 UTC (permalink / raw)
  To: gregkh; +Cc: linux-usb, linux-kernel, balbi, Ben Shelton, Nathan Sullivan

From: Ben Shelton <ben.shelton@ni.com>

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.

Signed-off-by: Nathan Sullivan <nathan.sullivan@ni.com>
---
 drivers/usb/core/Kconfig |    1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/usb/core/Kconfig b/drivers/usb/core/Kconfig
index a99c89e..9c5cdf3 100644
--- a/drivers/usb/core/Kconfig
+++ b/drivers/usb/core/Kconfig
@@ -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
-- 
1.7.10.4


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-10-05 21:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-05 19:13 [PATCH] usb: remove unnecessary CONFIG_PM dependency from USB_OTG Nathan Sullivan
2015-10-05 19:33 ` Felipe Balbi
2015-10-05 21:12   ` Nathan Sullivan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox