From: Maximilian Luz <luzmaximilian@gmail.com>
To: unlisted-recipients:; (no To-header on input)
Cc: "Maximilian Luz" <luzmaximilian@gmail.com>,
"Greg Kroah-Hartman" <gregkh@linuxfoundation.org>,
"Kai-Heng Feng" <kai.heng.feng@canonical.com>,
"Alan Stern" <stern@rowland.harvard.edu>,
"Harry Pan" <harry.pan@intel.com>,
"Maxence Duprès" <xpros64@hotmail.fr>,
"Michael Niewöhner" <linux@mniewoehner.de>,
"Nico Sneck" <snecknico@gmail.com>,
"Emmanuel Pescosta" <emmanuelpescosta099@gmail.com>,
"Jack Stocker" <jackstocker.93@gmail.com>,
linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH] USB: Add LPM quirk for Surface Dock GigE adapter
Date: Thu, 16 May 2019 17:08:31 +0200 [thread overview]
Message-ID: <20190516150833.119745-1-luzmaximilian@gmail.com> (raw)
Without USB_QUIRK_NO_LPM ethernet will not work and rtl8152 will
complain with
r8152 <device...>: Stop submitting intr, status -71
Adding the quirk resolves this. As the dock is externally powered, this
should not have any drawbacks.
Signed-off-by: Maximilian Luz <luzmaximilian@gmail.com>
---
drivers/usb/core/quirks.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/usb/core/quirks.c b/drivers/usb/core/quirks.c
index 8bc35d53408b..6082b008969b 100644
--- a/drivers/usb/core/quirks.c
+++ b/drivers/usb/core/quirks.c
@@ -209,6 +209,9 @@ static const struct usb_device_id usb_quirk_list[] = {
/* Microsoft LifeCam-VX700 v2.0 */
{ USB_DEVICE(0x045e, 0x0770), .driver_info = USB_QUIRK_RESET_RESUME },
+ /* Microsoft Surface Dock Ethernet (RTL8153 GigE) */
+ { USB_DEVICE(0x045e, 0x07c6), .driver_info = USB_QUIRK_NO_LPM },
+
/* Cherry Stream G230 2.0 (G85-231) and 3.0 (G85-232) */
{ USB_DEVICE(0x046a, 0x0023), .driver_info = USB_QUIRK_RESET_RESUME },
--
2.21.0
reply other threads:[~2019-05-16 15:09 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20190516150833.119745-1-luzmaximilian@gmail.com \
--to=luzmaximilian@gmail.com \
--cc=emmanuelpescosta099@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=harry.pan@intel.com \
--cc=jackstocker.93@gmail.com \
--cc=kai.heng.feng@canonical.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=linux@mniewoehner.de \
--cc=snecknico@gmail.com \
--cc=stern@rowland.harvard.edu \
--cc=xpros64@hotmail.fr \
/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®