mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Meng Dongyang <daniel.meng@rock-chips.com>
To: gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org
Cc: wulf@rock-chips.com, frank.wang@rock-chips.com,
	Meng Dongyang <daniel.meng@rock-chips.com>
Subject: [PATCH] usb: dwc2: skip L2 state of hcd if work in device mode
Date: Mon, 24 Jul 2017 11:56:44 +0800	[thread overview]
Message-ID: <1500868605-24144-1-git-send-email-daniel.meng@rock-chips.com> (raw)

The gadget may fail to enqueue request if the controller has enter L2
state. This patch prevent enter L2 state in hcd driver if the controller
works in device mode.

Meng Dongyang (1):
  usb: dwc2: skip L2 state of hcd if controller work in device mode

 drivers/usb/dwc2/hcd.c | 6 ++++++
 1 file changed, 6 insertions(+)

-- 
1.9.1

             reply	other threads:[~2017-07-24  3:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-24  3:56 Meng Dongyang [this message]
2017-07-24  3:56 ` [PATCH] usb: dwc2: skip L2 state of hcd if controller " Meng Dongyang

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=1500868605-24144-1-git-send-email-daniel.meng@rock-chips.com \
    --to=daniel.meng@rock-chips.com \
    --cc=frank.wang@rock-chips.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=wulf@rock-chips.com \
    /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

all inboxes | Powered by JetHome®