]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blob - releases/4.9.68/usb-quirks-add-no-lpm-quirk-for-ky-688-usb-3.1-type-c-hub.patch
4.9-stable patches
[thirdparty/kernel/stable-queue.git] / releases / 4.9.68 / usb-quirks-add-no-lpm-quirk-for-ky-688-usb-3.1-type-c-hub.patch
1 From e43a12f1793ae1fe006e26fe9327a8840a92233c Mon Sep 17 00:00:00 2001
2 From: Kai-Heng Feng <kai.heng.feng@canonical.com>
3 Date: Tue, 14 Nov 2017 01:31:15 -0500
4 Subject: usb: quirks: Add no-lpm quirk for KY-688 USB 3.1 Type-C Hub
5
6 From: Kai-Heng Feng <kai.heng.feng@canonical.com>
7
8 commit e43a12f1793ae1fe006e26fe9327a8840a92233c upstream.
9
10 KY-688 USB 3.1 Type-C Hub internally uses a Genesys Logic hub to connect
11 to Realtek r8153.
12
13 Similar to commit ("7496cfe5431f2 usb: quirks: Add no-lpm quirk for Moshi
14 USB to Ethernet Adapter"), no-lpm can make r8153 ethernet work.
15
16 Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
17 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
18
19 ---
20 drivers/usb/core/quirks.c | 3 +++
21 1 file changed, 3 insertions(+)
22
23 --- a/drivers/usb/core/quirks.c
24 +++ b/drivers/usb/core/quirks.c
25 @@ -151,6 +151,9 @@ static const struct usb_device_id usb_qu
26 /* appletouch */
27 { USB_DEVICE(0x05ac, 0x021a), .driver_info = USB_QUIRK_RESET_RESUME },
28
29 + /* Genesys Logic hub, internally used by KY-688 USB 3.1 Type-C Hub */
30 + { USB_DEVICE(0x05e3, 0x0612), .driver_info = USB_QUIRK_NO_LPM },
31 +
32 /* Genesys Logic hub, internally used by Moshi USB to Ethernet Adapter */
33 { USB_DEVICE(0x05e3, 0x0616), .driver_info = USB_QUIRK_NO_LPM },
34