From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932305AbbJ0MgG (ORCPT ); Tue, 27 Oct 2015 08:36:06 -0400 Received: from mail-lf0-f51.google.com ([209.85.215.51]:35697 "EHLO mail-lf0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752467AbbJ0MgE (ORCPT ); Tue, 27 Oct 2015 08:36:04 -0400 Subject: Re: [RESEND PATCH] usb: remove unnecessary CONFIG_PM dependency from USB_OTG To: Nathan Sullivan , gregkh@linuxfoundation.org, balbi@ti.com References: <1445901805-20442-1-git-send-email-nathan.sullivan@ni.com> Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org From: Sergei Shtylyov Message-ID: <562F6FB0.6010606@cogentembedded.com> Date: Tue, 27 Oct 2015 15:36:00 +0300 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <1445901805-20442-1-git-send-email-nathan.sullivan@ni.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 > --- > 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