From: John.Youn@synopsys.com (John Youn)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 0/2] usb: dwc2: Remove host and gadget only code from core
Date: Tue, 23 Feb 2016 00:41:43 -0800 [thread overview]
Message-ID: <cover.1456213319.git.johnyoun@synopsys.com> (raw)
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
WARNING: multiple messages have this Message-ID (diff)
From: John Youn <John.Youn@synopsys.com>
To: Felipe Balbi <balbi@kernel.org>, Doug Anderson <dianders@chromium.org>
Cc: <John.Youn@synopsys.com>, Alan Stern <stern@rowland.harvard.edu>,
"Arnd Bergmann" <arnd@arndb.de>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
<linux-arm-kernel@lists.infradead.org>,
Heiko Stuebner <heiko@sntech.de>,
Stefan Wahren <stefan.wahren@i2se.com>,
Heikki Krogerus <heikki.krogerus@linux.intel.com>,
Mathias Nyman <mathias.nyman@linux.intel.com>,
<linux-kernel@vger.kernel.org>
Subject: [PATCH 0/2] usb: dwc2: Remove host and gadget only code from core
Date: Tue, 23 Feb 2016 00:41:43 -0800 [thread overview]
Message-ID: <cover.1456213319.git.johnyoun@synopsys.com> (raw)
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
next reply other threads:[~2016-02-23 8:41 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-23 8:41 John Youn [this message]
2016-02-23 8:41 ` [PATCH 0/2] usb: dwc2: Remove host and gadget only code from core John Youn
2016-02-23 8:42 ` [PATCH 1/2] usb: dwc2: Move register save and restore functions John Youn
2016-02-23 8:42 ` John Youn
2016-02-23 9:31 ` [PATCH 0/2] usb: dwc2: Remove host and gadget only code from core John Youn
2016-02-23 9:31 ` John Youn
2016-02-24 13:40 ` Felipe Balbi
2016-02-24 13:40 ` Felipe Balbi
2016-02-24 19:01 ` Doug Anderson
2016-02-24 19:01 ` Doug Anderson
2016-02-25 7:08 ` Felipe Balbi
2016-02-25 7:08 ` Felipe Balbi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1456213319.git.johnyoun@synopsys.com \
--to=john.youn@synopsys.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.