Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754392AbbKCN5E (ORCPT ); Tue, 3 Nov 2015 08:57:04 -0500 Received: from bear.ext.ti.com ([192.94.94.41]:48672 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750817AbbKCN5B (ORCPT ); Tue, 3 Nov 2015 08:57:01 -0500 From: Felipe Balbi To: Nathan Sullivan , CC: , , Nathan Sullivan Subject: Re: [PATCH V4] usb: remove unnecessary CONFIG_PM dependency from USB_OTG In-Reply-To: <1446126743-31892-1-git-send-email-nathan.sullivan@ni.com> References: <1446126743-31892-1-git-send-email-nathan.sullivan@ni.com> User-Agent: Notmuch/0.21 (http://notmuchmail.org) Emacs/24.5.1 (x86_64-pc-linux-gnu) Date: Tue, 3 Nov 2015 07:56:55 -0600 Message-ID: <8737wnnq3c.fsf@saruman.tx.rr.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2077 Lines: 62 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi, Nathan Sullivan writes: > 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 > --- > 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 >=20=20 > config USB_OTG > bool "OTG support" > - depends on PM I don't think this is correct. OTG depends on USB bus suspend, which is only available on PM builds. Care to further detail why you think PM is not needed on OTG ? =2D-=20 balbi --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJWOL0oAAoJEIaOsuA1yqREpQUQAJjeFIa7cOXZSsa+fMCjQhJT DQPFN57Fm3tOYHWbcvQrU+O4qqwxLIzRTKUOMYEnTx1sqQ12NNjuNXVds+Z+qSNu TX1VvRcNVETETNZgxnK67sPYF9+GkpukuOmZovYJjMgJIt2lKqTH/gpF4gDFkC0+ TkVehUOJ2omLzI6cRHSXkVmCmhCTkTyBfGCOn30JGfCb6CC3olrjKidgnxv6HeiX 23/ZU718tYqTkUh8dJFznm62iOQly1HXy2GmDIkIVHHq6H5zOnvK6kvr4T9ttr9h 5ruMsn5srrN7hgi2wOU5IT1sNay2o1LWTilUGojzVVw4RzOsvA3kTGg6x5L/SUZr Wkx/27e5mdtPRrpwyN2JHwLmbtVCL34FTTnqazv56IJX2wdzWAmmVVxwexGAWXbO CRTrv77H28R/L2zQykqc5dS8+V+AyZjEVB5QL2Z9OPlFKrDfiClgmdMPFxmZgT9I VN1idAV9yUxtmje7nqGtoKknaYkWRkpWWrYlxTEWaXXss0n8ea9C9Fc5clJAsmKN i4HHEZnnBZOR/hg0d3KiOKFezC1apppPSv9DF2oOVSNqiujxnAtbbv36sTVLHw83 og5ZHUNjdIhjacXnXobSjJk4Z5S7qdtkl0ikYl5RtMa4IvJk59+klnY9NahCMoAW K8hg4UwoUnTFuMG8AZhs =WVff -----END PGP SIGNATURE----- --=-=-=-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/