Received: by 10.213.65.68 with SMTP id h4csp1305647imn; Thu, 29 Mar 2018 02:07:25 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+rCy8YkEJqb9p4/W1sceS/0qoTDdIfuI3vtPtxdi9Om8CdJZwSt/AtnD4iuoE/VI+4dbX1 X-Received: by 10.101.74.82 with SMTP id a18mr4964646pgu.312.1522314445844; Thu, 29 Mar 2018 02:07:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522314445; cv=none; d=google.com; s=arc-20160816; b=ncCWUmDY2u/eoI7u7+/p2RwfXfveJZOebnVMbnahmBV7g8Bp57CDKHn/hjs4vZfddc L8YutMvaIDOOMif+D812AP1DdFs7qSDA4yJ12xxUd/nRqgzFkVSItOC/biYpS1q+YeFI 7AmpX5xNqI/P6OueK8cQfpGqYK8MFBqIJvJA8Sl1LmsPc2QexOV7obJovybJlNAU0Ytj iVZZPF7r/bEVeYKqGjSLe14dzGumAsB5VMsav+e6LY8tFqnKFpZ3kGYWVrmX4a0gRUiZ JI+kxQW3rw+K5jZcxxXEHqItRrE1bReUhF2tDPLjb1fDR0z/ppwBJIV/E8t8tpkz7R9f 1i9A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:spamdiagnosticmetadata :spamdiagnosticoutput:content-transfer-encoding:mime-version :message-id:subject:cc:to:from:date:dkim-signature :arc-authentication-results; bh=AyOw9Xz2K6C4zgeYvFgKnedrZ4mz95DRW4wZklRNYms=; b=sKGJtd4bc9TuTX8cVXNA3gDw1eXEmFrodoDG7Rd3qHO6LC3SWPRJdHSFeJ3r9Pqz6a ApeybTiDj/nB62Hq5KAMmc/oFO3xaKB/YXPW3jS12eiWwxb51FOwl4YoJRF9y4u9op6D /bm0Lnsb9ooh064gZTHCY2mEXRoCLfYK/zPCkVzgDF95jbOc8BV7UDB8FNx199HGGxHB 7vx9wPNUymVYQy/P5MWQiSQpKx+3xFVB18Smg2vLs82ltyj3aMj03YQOhjFCKjo3WvV/ o33GqzxvYLn6CPw0xMP8kYMSCV/JrHcCKCr8vL0Do2dnPxI/PrMynbRJ+2Z5643m17BY +iNA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@Synaptics.onmicrosoft.com header.s=selector1-synaptics-com header.b=iuBZhtRp; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b9si4053359pfi.250.2018.03.29.02.07.11; Thu, 29 Mar 2018 02:07:25 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@Synaptics.onmicrosoft.com header.s=selector1-synaptics-com header.b=iuBZhtRp; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752090AbeC2JGH (ORCPT + 99 others); Thu, 29 Mar 2018 05:06:07 -0400 Received: from mail-bl2nam02on0078.outbound.protection.outlook.com ([104.47.38.78]:44175 "EHLO NAM02-BL2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750946AbeC2JGF (ORCPT ); Thu, 29 Mar 2018 05:06:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Synaptics.onmicrosoft.com; s=selector1-synaptics-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=AyOw9Xz2K6C4zgeYvFgKnedrZ4mz95DRW4wZklRNYms=; b=iuBZhtRpCG57xA3vcH3HVPqwmlQ58d1V79N3hEU9wR7WIQ48ulGYgebMDMRofEpO0AdHbaHIf2xkeG+ncIcm9AxfvUoMN26gRF2WKqJRjMHGEkKRnLsSPdx8bGQUIlJ8ZqACYB9Ayuvr6AyJ8c0Cxl4YOc6pOMZC0h1EmNU9N7s= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jisheng.Zhang@synaptics.com; Received: from xhacker.debian (124.74.246.114) by BN6PR03MB2628.namprd03.prod.outlook.com (10.173.143.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.631.10; Thu, 29 Mar 2018 09:06:02 +0000 Date: Thu, 29 Mar 2018 17:05:49 +0800 From: Jisheng Zhang To: Peter Chen , Greg Kroah-Hartman Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] usb: chipidea: Don't select EXTCON Message-ID: <20180329170549.3f74135d@xhacker.debian> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Originating-IP: [124.74.246.114] X-ClientProxiedBy: TY1PR01CA0154.jpnprd01.prod.outlook.com (10.174.224.158) To BN6PR03MB2628.namprd03.prod.outlook.com (10.173.143.139) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 4acd828e-aa06-479c-4a27-08d595544ca6 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(7020095)(4652020)(5600026)(4604075)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020);SRVR:BN6PR03MB2628; X-Microsoft-Exchange-Diagnostics: 1;BN6PR03MB2628;3:7/7UXTU5J0KH0JQJblkjUPKiXU9F9lV7EyKRPs+ETx5qZxG+LkkkN/3PH98g+2lDq5JleYmgeTu3NxqUCWnaMsi0iej/VE5+OAbdphnmEbtfslWfEmggztkgFXhIansGDU+11kQLBKifj9pPeJDmG23Vw3qk4PiJcvwZW9JhfFhvjiIfwnlA+gtOoo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LucggSzhPCHMYIMiwjptYRR3rTJ0wcCxH2Eac+QUKrs8+02al7B192CT+nEnMhooJVXfe5iOWUC7x85xBFJ9wMWgLL71avNX7n6dv4Ce/AywIuXDCHW25HgZ5PcgKKvaKM1jeaPzX6J950RUvynI7wc5Xmt36Y88za;4:avjioVGuUlgGJvM5LJDISeedp3InSgIEmXy7v98p/ArOJ45KGgEPllYbajAsT2Q3v8PQ5ifqRApnOAl649gCAct73hXU4xLe7kRe+b5u7mtzfQdjsvy7K2oSxpuWQh9cFxtQ/iODDq8/DwjwSNbuY9bCW4uE9MHUB2Fzh3onf0Mi1uOuoytOlvOSg6LIK2pHgP7ujiE2Yd7s/oj19edvPWvprAdkB5sDHJNCl1+UmDeCLqprvG2ZcalobmTXXYueqgCKORwMdKuXKgi7zSdZaw== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6040522)(2401047)(8121501046)(5005006)(3002001)(93006095)(93001095)(3231221)(944501327)(52105095)(10201501046)(6041310)(20161123564045)(20161123562045)(20161123558120)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011);SRVR:BN6PR03MB2628;BCL:0;PCL:0;RULEID:;SRVR:BN6PR03MB2628; X-Forefront-PRVS: 0626C21B10 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(396003)(366004)(39380400002)(39850400004)(376002)(346002)(199004)(189003)(68736007)(52116002)(110136005)(23726003)(3846002)(8656006)(6116002)(1076002)(8676002)(50466002)(478600001)(6666003)(2906002)(47776003)(66066001)(105586002)(72206003)(8936002)(26005)(386003)(16526019)(7696005)(7736002)(55016002)(25786009)(575784001)(476003)(5660300001)(53936002)(230700001)(86362001)(316002)(106356001)(486005)(9686003)(1857600001)(81156014)(486005)(186003)(81166006)(97736004)(50226002)(4326008)(956004)(305945005)(59450400001)(33896004)(6506007)(39210200001);DIR:OUT;SFP:1101;SCL:1;SRVR:BN6PR03MB2628;H:xhacker.debian;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; Received-SPF: None (protection.outlook.com: synaptics.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BN6PR03MB2628;23:MGJ6z5QrdaqisQzjJi8LpbF09fVEVt4OYjtxhF1RI?= =?us-ascii?Q?wgxO2ko0PmJAXxF5+ZiBHARGepkq1KehKWx45SKEVgMRF0Kz/SWng9tTuGyc?= =?us-ascii?Q?0kEm13uOxIXXrodXDkgX4ftarj8TIkJwuGCiarvu6/YJ9vN69+FCAZ9QZVzB?= =?us-ascii?Q?tbE6ORSS1tiTCh2dRUaVDFpKw/hnrCBgrpt5H1ElDaankdAjzW/nuSBt1xKa?= =?us-ascii?Q?TQ6hygKGM/NEs6KbVJQtg+VBFAkd60oE20FVE6Zjcd21U88uZpMCt/i7PjDF?= =?us-ascii?Q?yea6hbiG9xt8zzelN/SVGZ9IPddIfu4FnMKGm90tITmvMsMsz2r2XXMX/Pa6?= =?us-ascii?Q?GtZKJF9qb9Yyj0SBZvwilHwVwQ2O4dEpgb8FLv1sNjmpZeEinQuiC5pT2Rd1?= =?us-ascii?Q?JV6StQJ3lxUOMCt8A9fJ1IPrPPVNE71+wo4oSs78KDslmvXUKKsipIZi2Jga?= =?us-ascii?Q?CbKQ7BwCw1Vqq2BIqp0GoNoDkrkHVSoOpuGSP5jVKptCFE0hLhmg0Do9Lytb?= =?us-ascii?Q?Pz4FV4l11WlO6uf9RIHXFk/MD9qc0ITtAwOBghcU8YisdAcLVb9hbogjiFFK?= =?us-ascii?Q?gDyEoU7QoNN8brGCKrYNLLXaN7DgnahcgacCHB8bB7aEFkrCRoFeYXWXlk8z?= =?us-ascii?Q?XaAi1DBtosyhpjzhMf0Oj2KSk3CVk62dy2dOElY0740lWswDZpGZ1eMjWtZa?= =?us-ascii?Q?r+cWo1vPrcrYXp3QgUF8Xj9doaQ6id1PVUyYnJSZDWeG7bNDzYBS7oss7sPf?= =?us-ascii?Q?ruLd8GYYbGor6DVTfYfxSRY188++ww71dOa8Y+6wH8jOSUD01ngM//UwisIP?= =?us-ascii?Q?NpKmaoTI367dvxkpAUQly2+hdDzzNLiLaWZZB0HRg43EMTYcW8ly2qS5Cqmc?= =?us-ascii?Q?AJ4pGxRyc8G4TONq+PaLati/ng/w3wznCZ2CqnEKAJfs2joudDavf+6vX+ia?= =?us-ascii?Q?jGAtIyUUE31/W1TznOEMjGdSHHq8DdtNaUaTSLQcyHv0pzU9xKlO4Io0gzl3?= =?us-ascii?Q?iUsdgRdlNV9n1Egisy54d4z0cr1VmsMrIHR8fVNqsGJmVWJ6jF3MEacyssAB?= =?us-ascii?Q?2AimRcJVto64tJXAm0/l1KI45OR5FjVX+YI2u95QCp5bD4D0MMKyO80YJakG?= =?us-ascii?Q?INrPxgExNdWyArLokcgEeXdxLN+rrI6Hdp0U09OOKvM0aYTd4K76wE5qfZ2m?= =?us-ascii?Q?93qdmzd75jM0YiPTwF4UxGINxtLIdvWxc//8twye7bUECZOwtN5j0OZm0ORZ?= =?us-ascii?Q?zeBddA7UcA5kVqeZ5iPgFiSGUJD5A86kN5yRxHO7P1km4DUN8DdNypBormms?= =?us-ascii?B?UT09?= X-Microsoft-Antispam-Message-Info: KWwWUOMLTlFyBC5U2kJqUzbtV2m0MB8rBO8zpnsEsAgM9f4E8pGohY+L16oFSyOhi60vxYPEXimYKiHzDLQs3vvMu2JG2X7LoJKh8IPC1WU/WZcQml6xqiPpsJK9gZjTcWJ5+ZafbIs+JdtQA46GM2fenq3iOVdsM1mb2Zyx34MDgE7R3zDGF6XRBuiCXRSV X-Microsoft-Exchange-Diagnostics: 1;BN6PR03MB2628;6:mgltB4qSOG19oIOHyTIZ2cNF/88m3TyIHuVjcT7Xla/kdtZNwyNDAGzGeg87lSeX/srbUs2qHPGdm0B/MmZ24uiiJ9RQ4L1sq3RFbn21IIuvjol+ijMCyWe7cH5Qyj207GMw2U6Ci18YUSYo/el65jVtIl83hR7lUIpQNK4f83fVRC7zNzkSoaLjLBtVqalD2AN+7zld9gkDu5OAItqno56B+XMDtasnpdc5nctxHIHlIGUTwuvRGw8YVM0H0nEgbS2o/BoZfcJeXtnQixdETqrlOVP0HGjE+f3epJPSccUgWd6puPmt1paMSi0kwmFiuK8c68yLsVEnKrVwiWyr5tD0Ld6LoAdxBs5GsjH5lFrUmUF3QNb13OHexWUleHuJyU6ABv/s+YeM7sgaujBOzQuYF+hPKm5f2zEzM4bEi6gJLPwp2S91Fgdi+uVzTsatqCrGJF7g++tz5DNt6tL9lQ==;5:OnRuKFdkBnhIndAFiEdExiB3jEIIBsYZj9kl3RPbJb9lEZrIx7z7YpKrDQW9N9w8xV0syQTix7mB69XK1slRUuwkGHWPrfbBwPgbQmFDt4SQpEP2/dqmKgYktMJ4cEYZotRfympDZ1doyhwBAOJJZdMnJDw1bdIOdM2aTPxgvk8=;24:5xQ9hLMV/QYuCa3IB8HoeJ1dPKdFdKzDB+jwwdYvIXFlu35w/EL1dY5hXSEcnA+Ktz00YvFyJFTrGQ5tsCgZv/RabOp6FmlXcoBmRtB/ruY= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;BN6PR03MB2628;7:nGM9nlphrmSZmjlP5ourLxEe/ZteVhqnhevBTTfty4JcoD4bNo4qntCZmS/Grnea1vOptcPaaJ9NT2gChP81qMmrlG/l9AWiMTpkPrEgGfS3E9hqxpKId1k0BdW4MWnKn6l610yGtbpJilp5dyItYA66zuZlodzPFf5qblw/0l0MNMxWTwlnxD96LP7W/Thfc4Mb3mYhSMW+fWJ3KFs8ZQEGvLKXGamd9pcGU1ZBQ/hY20YYfCgh/0utMjwU4qBz X-OriginatorOrg: synaptics.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Mar 2018 09:06:02.4679 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 4acd828e-aa06-479c-4a27-08d595544ca6 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 335d1fbc-2124-4173-9863-17e7051a2a0e X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR03MB2628 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Not all chipidea users need EXTCON, so it's better to avoid unconditionally select EXTCON, this could save us 2KB kernel Image size. Signed-off-by: Jisheng Zhang --- drivers/usb/chipidea/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/usb/chipidea/Kconfig b/drivers/usb/chipidea/Kconfig index 785f0ed037f7..97509172d536 100644 --- a/drivers/usb/chipidea/Kconfig +++ b/drivers/usb/chipidea/Kconfig @@ -1,7 +1,6 @@ config USB_CHIPIDEA tristate "ChipIdea Highspeed Dual Role Controller" depends on ((USB_EHCI_HCD && USB_GADGET) || (USB_EHCI_HCD && !USB_GADGET) || (!USB_EHCI_HCD && USB_GADGET)) && HAS_DMA - select EXTCON select RESET_CONTROLLER help Say Y here if your system has a dual role high speed USB -- 2.16.3