linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH RESEND 0/2] usb: dwc2: Remove host and gadget only code from core
@ 2016-02-23 21:33 John Youn
  2016-02-23 21:33 ` [PATCH RESEND 1/2] usb: dwc2: Move register save and restore functions John Youn
       [not found] ` <8c76999579912385f7aa371960e5321864d5d86c.1456260533.git.johnyoun@synopsys.com>
  0 siblings, 2 replies; 4+ messages in thread
From: John Youn @ 2016-02-23 21:33 UTC (permalink / raw)
  To: linux-arm-kernel

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    | 1948 ++++++++++++++++++++++++++++++++++++++++++--
 drivers/usb/dwc2/hcd.h    |   10 +
 5 files changed, 2024 insertions(+), 2030 deletions(-)

-- 
2.6.3

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-02-24  0:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-23 21:33 [PATCH RESEND 0/2] usb: dwc2: Remove host and gadget only code from core John Youn
2016-02-23 21:33 ` [PATCH RESEND 1/2] usb: dwc2: Move register save and restore functions John Youn
2016-02-24  0:22   ` Doug Anderson
     [not found] ` <8c76999579912385f7aa371960e5321864d5d86c.1456260533.git.johnyoun@synopsys.com>
2016-02-24  0:22   ` [PATCH RESEND 2/2] usb: dwc2: Move host-specific core functions into hcd.c Doug Anderson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).