]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commitdiff
USB: NO_LPM quirk Lenovo USB-C to Ethernet Adapher(RTL8153-04)
authorJimmy Wang <wangjm221@gmail.com>
Tue, 14 Dec 2021 01:26:50 +0000 (09:26 +0800)
committerStefan Bader <stefan.bader@canonical.com>
Mon, 7 Mar 2022 15:34:12 +0000 (16:34 +0100)
BugLink: https://bugs.launchpad.net/bugs/1957991
commit 0ad3bd562bb91853b9f42bda145b5db6255aee90 upstream.

This device doesn't work well with LPM, losing connectivity intermittently.
Disable LPM to resolve the issue.

Reviewed-by: <markpearson@lenovo.com>
Signed-off-by: Jimmy Wang <wangjm221@gmail.com>
Cc: stable <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20211214012652.4898-1-wangjm221@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
drivers/usb/core/quirks.c

index e170c5b4d6f0cb970fdac8fd95a65bc8fc3865a0..a118c44c70e1e992d0d22a79a3c359959ac9eb4a 100644 (file)
@@ -435,6 +435,9 @@ static const struct usb_device_id usb_quirk_list[] = {
        { USB_DEVICE(0x1532, 0x0116), .driver_info =
                        USB_QUIRK_LINEAR_UFRAME_INTR_BINTERVAL },
 
+       /* Lenovo USB-C to Ethernet Adapter RTL8153-04 */
+       { USB_DEVICE(0x17ef, 0x720c), .driver_info = USB_QUIRK_NO_LPM },
+
        /* Lenovo Powered USB-C Travel Hub (4X90S92381, RTL8153 GigE) */
        { USB_DEVICE(0x17ef, 0x721e), .driver_info = USB_QUIRK_NO_LPM },