From: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
To: Felipe Balbi <balbi@kernel.org>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Thinh Nguyen <Thinh.Nguyen@synopsys.com>,
linux-usb@vger.kernel.org,
Chunfeng Yun <chunfeng.yun@mediatek.com>
Cc: John Youn <John.Youn@synopsys.com>
Subject: [PATCH 0/2] usb: dwc3: Valid HW capability
Date: Fri, 24 Jul 2020 14:00:55 -0700 [thread overview]
Message-ID: <cover.1595624103.git.thinhn@synopsys.com> (raw)
The field dwc->maximum_speed captures the device "maximum-speed" property. If
the property is not set, then default the field to the maximum speed the HW
supports.
This series makes sure that the user input takes precedence and only prints
warning if the user specifies a maximum-speed higher than what the HW shows.
Thinh Nguyen (2):
usb: dwc3: core: Properly default unspecified speed
usb: dwc3: core: Print warning on unsupported speed
drivers/usb/dwc3/core.c | 44 +++++++++++++++++++++++++++-----------------
1 file changed, 27 insertions(+), 17 deletions(-)
base-commit: a95fcda246dc3e9f5d00222c9a8f0a76aa0bb950
--
2.11.0
next reply other threads:[~2020-07-24 21:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-24 21:00 Thinh Nguyen [this message]
2020-07-24 21:01 ` [PATCH 1/2] usb: dwc3: core: Properly default unspecified speed Thinh Nguyen
2020-07-24 21:01 ` [PATCH 2/2] usb: dwc3: core: Print warning on unsupported speed Thinh Nguyen
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.1595624103.git.thinhn@synopsys.com \
--to=thinh.nguyen@synopsys.com \
--cc=John.Youn@synopsys.com \
--cc=balbi@kernel.org \
--cc=chunfeng.yun@mediatek.com \
--cc=gregkh@linuxfoundation.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).