projects
/
wrapfs-4.13.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
434438d
)
USB: Add LPM quirk for Lenovo ThinkPad USB-C Dock Gen2 Ethernet
author
Kai-Heng Feng
<kai.heng.feng@canonical.com>
Mon, 12 Apr 2021 13:54:53 +0000
(21:54 +0800)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Wed, 14 Apr 2021 13:17:53 +0000
(15:17 +0200)
This is another branded 8153 device that doesn't work well with LPM
enabled:
[ 400.597506] r8152 5-1.1:1.0 enx482ae3a2a6f0: Tx status -71
So disable LPM to resolve the issue.
Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
BugLink:
https://bugs.launchpad.net/bugs/1922651
Link:
https://lore.kernel.org/r/20210412135455.791971-1-kai.heng.feng@canonical.com
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/core/quirks.c
patch
|
blob
|
history
diff --git
a/drivers/usb/core/quirks.c
b/drivers/usb/core/quirks.c
index 76ac5d6555ae4d001389233192fd2bf0740be550..6114cf83bb447956c830c7f01fb6a45f9a319eba 100644
(file)
--- a/
drivers/usb/core/quirks.c
+++ b/
drivers/usb/core/quirks.c
@@
-438,6
+438,9
@@
static const struct usb_device_id usb_quirk_list[] = {
{ USB_DEVICE(0x17ef, 0xa012), .driver_info =
USB_QUIRK_DISCONNECT_SUSPEND },
+ /* Lenovo ThinkPad USB-C Dock Gen2 Ethernet (RTL8153 GigE) */
+ { USB_DEVICE(0x17ef, 0xa387), .driver_info = USB_QUIRK_NO_LPM },
+
/* BUILDWIN Photo Frame */
{ USB_DEVICE(0x1908, 0x1315), .driver_info =
USB_QUIRK_HONOR_BNUMINTERFACES },