Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754987AbbKCIm3 (ORCPT ); Tue, 3 Nov 2015 03:42:29 -0500 Received: from mail-by2on0119.outbound.protection.outlook.com ([207.46.100.119]:51818 "EHLO na01-by2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752391AbbKCImY (ORCPT ); Tue, 3 Nov 2015 03:42:24 -0500 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=freescale.com; vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=none action=none header.from=freescale.com; Date: Tue, 3 Nov 2015 16:40:28 +0800 From: Peter Chen To: Nathan Sullivan CC: , , , Subject: Re: [PATCH V4] usb: remove unnecessary CONFIG_PM dependency from USB_OTG Message-ID: <20151103084027.GA25655@shlinux2> References: <1446126743-31892-1-git-send-email-nathan.sullivan@ni.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <1446126743-31892-1-git-send-email-nathan.sullivan@ni.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1;BN1AFFO11FD055;1:78LaMS8JozUFLgjKRDudZ0o6UUbFa50p3rONRQvp9w2mumHvRdhXk5Zm7YB+0VpC4URXDrBp74Fku2kBXu9SwH7qbQ/8m0CzWwj+cyJ3N9Gg75EjJP+8e6FL3XOURI6oRivDwcwtvDP2G3TgxJVIugVFgkwRULfqceDoI5Emhs6hEZ2ykxS1C+JukfFzhOoYqoHSka0SOwIJGYQfqDl+VKcGEJVJrNPy3Ts+SB2mYPRLqYyAPqymgvcju6y1CggX0KTkCTp+PNwcjIPBQubRknu4lxvHofOgvKtgRWdE4nNzbyPFVZXsmXQfTpwYiOSoi3pSrQICwH08//pufqKMTNAPoMHwiz6LDrthYsg3dOfmUCP6zk1zM7ngvvrrq2gO X-Forefront-Antispam-Report: CIP:192.88.168.50;CTRY:US;IPV:NLI;EFV:NLI;SFV:NSPM;SFS:(10019020)(6009001)(2980300002)(1110001)(1109001)(339900001)(189002)(199003)(24454002)(97756001)(33656002)(33716001)(19580395003)(86362001)(6806005)(77096005)(2950100001)(50466002)(11100500001)(46406003)(5008740100001)(104016004)(92566002)(76176999)(19580405001)(4001350100001)(81156007)(85426001)(5007970100001)(87936001)(189998001)(5001960100002)(97736004)(47776003)(106466001)(5001920100001)(23726002)(110136002)(105606002)(83506001)(50986999)(54356999);DIR:OUT;SFP:1102;SCL:1;SRVR:BLUPR03MB084;H:tx30smr01.am.freescale.net;FPR:;SPF:Fail;PTR:InfoDomainNonexistent;MX:1;A:1;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;BLUPR03MB084;2:AU3wjt/aeibcAeoboEvj2dj86N8hJaQJJG6TZEN2utfI1uYXix55y3TDW6KEdaKO3H9cUxU37iRzTOc0wub3W3dUxQBvjFBtDAZ/MwV4ZnBFuZaeDCIgDfUYNQAxmYKEiy5avC4xwrIDnGCypi9yuO0jt3gPom3flG376IzqxHE=;3:b0dmsN3Q4C85+KkS5AzDZgRzP/4PLpv2paHY0jfdIDkm/khPwoaTa14QFXgabJ6bbrfX2GGumsKVg1AvGiv1f/Hy0rS87ExTVeYubhfeMZAOz1jqzx54oNeg0LBDaLI2jdJa0LGZKtxeTfVtz9BzzFgnxbAmruUUBA/JTJ3dR53UHEablI4CWb2K1M+254SmwcIc50dKUMD+Z2K4zQcaNudI0tndI8YHWmAOOQ+zFz0=;25:IThX1eF/yhIGm3m+2/3vBPcoiNlfRfJx7O7OLp5ZCBxH7GHb6GBzsIDNoOlEQrX1bb1fispdmHOOog5PWEBpo6LP4nVYZyr/fg6yoEfdBe2P8LxsiqpW/kOlxMlEFLY3bFgqPgjvCXf8+KNUYqiCryFUnTR8YLXZkEckmzkMN/tmB7dDDB3PcOLRwZO6AQ5MaPISoCobeEcXDwN5AiIb1pDMn+O7vIOqlWSdyahDBSorQfRy0cFjc8ZNYMdarOAl X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BLUPR03MB084; X-Microsoft-Exchange-Diagnostics: 1;BLUPR03MB084;20:kn2ZZ5gvxLFWenDyVlT/HBNxqymGMO6VavwKmw8vz7ppA8EEzHpsroDenscP6eqRidHvI+iiqP3fUzM4un60qrcVPSk/sU0s/S3q+sKnTb1ON5E0ntA2+ip0ot8ORJeR8vVCqbwKhkkmxi1+xztooOis5qg7RO5ZQuZrfnNVDtROcPH0RFjislWILxcI9O16jyz4T7vH/u55YdpwWT6CB0y2utlUG4YZnCDQw0NzHmFQcIqmxhfV/mnZVKg2ZCrUiR+NzhmS0rpSdnlL+IuiK1lN3gG37WSOGZ78UmprueABpeJ6k4nxiMtTGBEcp00Qn+qd9sfPXL+8SgOb5yMmy+4gfTPfPaWja3pCKbOpfCE=;4:Q74UAxdrpVnUcwKFM5yzH+UDXqU1FpbDEC5OpZYYqsg4qGmry4Afu0YOZLoyi6+xpCqoI8UQBkPSED8eYY0VaSnFnHz5Dts5xMKKAU9NPw7MM6rO3DJ7XTvHg9+b0sHBv17C3hLZV8/h1DN4cF+PlJHO3CGHMU5pDQ9/2SX8KucLmqi7hTgFgOKYLkK+zbEmeMlPh5dXK3GQVcWqB3CqO/zaMpQ024aFnSB5W9ybPxMdPPobzy+2DxGjcXluSmbzTTzp2cSmFmQOGj1keneAOgIDcthYoO8tIpG8mBk71e6gwx1P6c1YCowcp7kM2HheeNDC1Egk8iXX6MsxevrZ6cQPcX5OFBGsa2WQ0HBBMewSMpkcPuVzYFBOuE4INoLJ X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(145744241990776)(101931422205132); X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(2401047)(520078)(8121501046)(5005006)(3002001)(10201501046);SRVR:BLUPR03MB084;BCL:0;PCL:0;RULEID:;SRVR:BLUPR03MB084; X-Forefront-PRVS: 0749DC2CE6 X-Microso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aRmirKWnABjkuszi/ZOaWaHimU+Yd3I1c++uIKAXx?= =?us-ascii?Q?ty/N18bg/nenO6shhgCPmbnIUgZ/rvkGH4c/HCQxeoklP69zYrutBWdC1AgA?= =?us-ascii?Q?JMhuTRw+J7KNMog8dDobs7VtsmeJ7xwgj6V97YSOjZtSPQ4gDRJNEPkeH70a?= =?us-ascii?Q?H6ldEh5PrjKQCPoSai70RH/np7rdRMzCpwS/xCGWaMrTfyukkdberkVpG4r+?= =?us-ascii?Q?+XmBZZTsj23JBmV2Ee5q02BRO8+azI9hNsIqgyuSRhq1qUab2Ku3Ne9CLQao?= =?us-ascii?Q?3X5rXnkjs=3D?= X-Microsoft-Exchange-Diagnostics: 1;BLUPR03MB084;5:hWSYmEc+V+/Bkrx2HVrnYpRmiTrSEeLlTYkfKl8JwTXVugqCvAm0joIqzjSuQ3FMBTcBdWKBF8hJkwWkAm/aDITJDOGScVegyvodEhT8hAPblggTKGWyjwh6u5iS23Ww8DWKyWrz5wDpJ4YS+ecrqw==;24:PKXlfr6OfoCGeZEAAuQUt1JkkziZSuQrcsuAtuT1BSFlAd12+DrIjtAnRAsXR+YAqQ7BH4Zga50EGcVNYKbIYdsERuMdDaUl6g0bwIGhiG8=;20:e+eRciwezaxxRPW8K/Gxzxw3NDCfUMwOPSL7/BbAPc+tOGq0ktK9H3y5t1dbdPZRvSKyByTnq6lSx7pcgVMM7Q== SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Nov 2015 08:42:22.9393 (UTC) X-MS-Exchange-CrossTenant-Id: 710a03f5-10f6-4d38-9ff4-a80b81da590d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=710a03f5-10f6-4d38-9ff4-a80b81da590d;Ip=[192.88.168.50];Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR03MB084 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1109 Lines: 39 On Thu, Oct 29, 2015 at 08:52:23AM -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 > --- > 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 > Acked-by: Peter Chen -- Best Regards, Peter Chen -- 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/