linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH V2] usb: remove unnecessary CONFIG_PM dependency from USB_OTG
@ 2015-10-27 22:21 Nathan Sullivan
  2015-10-28  1:31 ` Peter Chen
  0 siblings, 1 reply; 2+ messages in thread
From: Nathan Sullivan @ 2015-10-27 22:21 UTC (permalink / raw)
  To: gregkh, balbi; +Cc: linux-usb, linux-kernel, Nathan Sullivan

The USB OTG 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 |    2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/usb/core/Kconfig b/drivers/usb/core/Kconfig
index a99c89e..567454f 100644
--- a/drivers/usb/core/Kconfig
+++ b/drivers/usb/core/Kconfig
@@ -43,8 +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
 	  "Dual-Role" device, which can act as either a device
-- 
1.7.10.4


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

* Re: [PATCH V2] usb: remove unnecessary CONFIG_PM dependency from USB_OTG
  2015-10-27 22:21 [PATCH V2] usb: remove unnecessary CONFIG_PM dependency from USB_OTG Nathan Sullivan
@ 2015-10-28  1:31 ` Peter Chen
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Chen @ 2015-10-28  1:31 UTC (permalink / raw)
  To: Nathan Sullivan; +Cc: gregkh, balbi, linux-usb, linux-kernel

On Tue, Oct 27, 2015 at 05:21:11PM -0500, Nathan Sullivan wrote:
> The USB OTG 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 |    2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/drivers/usb/core/Kconfig b/drivers/usb/core/Kconfig
> index a99c89e..567454f 100644
> --- a/drivers/usb/core/Kconfig
> +++ b/drivers/usb/core/Kconfig
> @@ -43,8 +43,6 @@ config USB_DYNAMIC_MINORS
>  
>  config USB_OTG
>  	bool "OTG support"
> -	depends on PM
> -	default n

Why you remove the "default n", it does not mention in your commit log?

>  	help
>  	  The most notable feature of USB OTG is support for a
>  	  "Dual-Role" device, which can act as either a device
> -- 
> 1.7.10.4
> 
> --
> To unsubscribe from this list: send the line "unsubscribe linux-usb" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

-- 

Best Regards,
Peter Chen

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

end of thread, other threads:[~2015-10-28  1:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-27 22:21 [PATCH V2] usb: remove unnecessary CONFIG_PM dependency from USB_OTG Nathan Sullivan
2015-10-28  1:31 ` Peter Chen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).