[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <cover.1456213319.git.johnyoun@synopsys.com>
Date: Tue, 23 Feb 2016 00:41:43 -0800
From: John Youn <John.Youn@...opsys.com>
To: Felipe Balbi <balbi@...nel.org>,
Doug Anderson <dianders@...omium.org>
CC: <John.Youn@...opsys.com>, Alan Stern <stern@...land.harvard.edu>,
"Arnd Bergmann" <arnd@...db.de>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
<linux-arm-kernel@...ts.infradead.org>,
Heiko Stuebner <heiko@...ech.de>,
Stefan Wahren <stefan.wahren@...e.com>,
Heikki Krogerus <heikki.krogerus@...ux.intel.com>,
Mathias Nyman <mathias.nyman@...ux.intel.com>,
<linux-kernel@...r.kernel.org>
Subject: [PATCH 0/2] usb: dwc2: Remove host and gadget only code from core
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.
Regards,
John
John Youn (2):
usb: dwc2: Move register save and restore functions
usb: dwc2: Move host-specific core functions into hcd.c
drivers/usb/dwc2/core.c | 1959 ---------------------------------------------
drivers/usb/dwc2/core.h | 35 +-
drivers/usb/dwc2/gadget.c | 102 +++
drivers/usb/dwc2/hcd.c | 1947 ++++++++++++++++++++++++++++++++++++++++++--
drivers/usb/dwc2/hcd.h | 10 +
5 files changed, 2023 insertions(+), 2030 deletions(-)
--
2.6.3
Powered by blists - more mailing lists