From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752000AbcBWJcu (ORCPT ); Tue, 23 Feb 2016 04:32:50 -0500 Received: from us01smtprelay-2.synopsys.com ([198.182.60.111]:43922 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751688AbcBWJcn (ORCPT ); Tue, 23 Feb 2016 04:32:43 -0500 Subject: Re: [PATCH 0/2] usb: dwc2: Remove host and gadget only code from core To: Felipe Balbi , Doug Anderson References: From: John Youn CC: Alan Stern , Arnd Bergmann , Greg Kroah-Hartman , "linux-arm-kernel@lists.infradead.org" , Heiko Stuebner , Stefan Wahren , Heikki Krogerus , Mathias Nyman , "linux-kernel@vger.kernel.org" Message-ID: <56CC26ED.50004@synopsys.com> Date: Tue, 23 Feb 2016 01:31:25 -0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.12.65.57] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2/23/2016 12:35 AM, John Youn wrote: > This series moves the host/gadget-specific code from core.c to hcd.c > and gadget.c so that they will be compiled only when their respective > configurations are selected, or in DRD. > > This is mostly just a straight move of the code. I have also added > some comments to group related functions together. > > Compiled and tested in all three modes. > > This should also solve the issue reported here: > http://marc.info/?l=linux-usb&m=145591813410106&w=2 > > Although I wasn't able to test it... couldn't figure out how to > disable CONFIG_USB and enable DWC2 in gadget mode. > > Felipe, > > This should be applied after Doug's series on your testing/next > branch. > > Hi Felipe, Patch 2/2 is triggering our corporate mail filters however I try to send it. I'll look into this with IT tomorrow, maybe have to send it from another account. Regards, John