linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sevak Arakelyan <SEVAK.ARAKELYAN@synopsys.com>
To: John Youn <John.Youn@synopsys.com>,
	Felipe Balbi <balbi@kernel.org>,
	"Greg Kroah-Hartman" <gregkh@linuxfoundation.org>,
	<linux-usb@vger.kernel.org>, <linux-kernel@vger.kernel.org>
Cc: Sevak Arakelyan <SEVAK.ARAKELYAN@synopsys.com>
Subject: [PATCH 0/2] usb: dwc2: Replace polling code with function calls
Date: Thu, 27 Apr 2017 17:02:49 +0400	[thread overview]
Message-ID: <cover.1493297976.git.sevaka@synopsys.com> (raw)

This series moves dwc2_hsotg_wait_bit_set polling function to core.c and replaces all the
register polling parts of code with function calls

Tested on HAPS platform with DWC_hsotg IP version 3.30a.

Sevak Arakelyan (2):
  usb: dwc2: Move polling function to core.c.
  usb: dwc2: Use common polling function.

 drivers/usb/dwc2/core.c   | 84 ++++++++++++++++++++++-------------------------
 drivers/usb/dwc2/core.h   |  4 +++
 drivers/usb/dwc2/gadget.c | 38 +++------------------
 drivers/usb/dwc2/hcd.c    | 18 ++++------
 4 files changed, 54 insertions(+), 90 deletions(-)

-- 
2.11.0

             reply	other threads:[~2017-04-27 13:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-27 13:02 Sevak Arakelyan [this message]
2017-04-27 13:02 ` [PATCH 1/2] usb: dwc2: Move polling function to core.c Sevak Arakelyan
2017-04-27 13:03 ` [PATCH 2/2] usb: dwc2: Use common polling function Sevak Arakelyan

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.1493297976.git.sevaka@synopsys.com \
    --to=sevak.arakelyan@synopsys.com \
    --cc=John.Youn@synopsys.com \
    --cc=balbi@kernel.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.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 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).