linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RESEND PATCH] usb: remove unnecessary CONFIG_PM dependency from USB_OTG
@ 2015-10-26 23:23 Nathan Sullivan
  2015-10-27  2:21 ` Peter Chen
  2015-10-27 12:36 ` Sergei Shtylyov
  0 siblings, 2 replies; 4+ messages in thread
From: Nathan Sullivan @ 2015-10-26 23:23 UTC (permalink / raw)
  To: gregkh, balbi; +Cc: linux-usb, linux-kernel, Nathan Sullivan

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] 4+ messages in thread

* Re: [RESEND PATCH] usb: remove unnecessary CONFIG_PM dependency from USB_OTG
  2015-10-26 23:23 [RESEND PATCH] usb: remove unnecessary CONFIG_PM dependency from USB_OTG Nathan Sullivan
@ 2015-10-27  2:21 ` Peter Chen
  2015-10-27 12:36 ` Sergei Shtylyov
  1 sibling, 0 replies; 4+ messages in thread
From: Peter Chen @ 2015-10-27  2:21 UTC (permalink / raw)
  To: Nathan Sullivan; +Cc: gregkh, balbi, linux-usb, linux-kernel

On Mon, Oct 26, 2015 at 06:23:25PM -0500, Nathan Sullivan wrote:
> The USB gadget support currently depends on power management

Why you said gadget? The thing you change is for OTG.

> (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
> 
> --
> 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] 4+ messages in thread

* Re: [RESEND PATCH] usb: remove unnecessary CONFIG_PM dependency from USB_OTG
  2015-10-26 23:23 [RESEND PATCH] usb: remove unnecessary CONFIG_PM dependency from USB_OTG Nathan Sullivan
  2015-10-27  2:21 ` Peter Chen
@ 2015-10-27 12:36 ` Sergei Shtylyov
  1 sibling, 0 replies; 4+ messages in thread
From: Sergei Shtylyov @ 2015-10-27 12:36 UTC (permalink / raw)
  To: Nathan Sullivan, gregkh, balbi; +Cc: linux-usb, linux-kernel

Hello.

On 10/27/2015 2:23 AM, Nathan Sullivan wrote:

> 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

    You could as well delete the above line.

[...]

MBR, Sergei


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

* [RESEND PATCH] usb: remove unnecessary CONFIG_PM dependency from USB_OTG
@ 2015-10-21 22:06 Nathan Sullivan
  0 siblings, 0 replies; 4+ messages in thread
From: Nathan Sullivan @ 2015-10-21 22:06 UTC (permalink / raw)
  To: gregkh, balbi; +Cc: linux-usb, linux-kernel, 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] 4+ messages in thread

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

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-26 23:23 [RESEND PATCH] usb: remove unnecessary CONFIG_PM dependency from USB_OTG Nathan Sullivan
2015-10-27  2:21 ` Peter Chen
2015-10-27 12:36 ` Sergei Shtylyov
  -- strict thread matches above, loose matches on Subject: below --
2015-10-21 22:06 Nathan Sullivan

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).