]>
Commit | Line | Data |
---|---|---|
96b04058 GKH |
1 | From ea261113385ac0a71c2838185f39e8452d54b152 Mon Sep 17 00:00:00 2001 |
2 | From: Maximilian Luz <luzmaximilian@gmail.com> | |
3 | Date: Thu, 16 May 2019 17:08:31 +0200 | |
4 | Subject: USB: Add LPM quirk for Surface Dock GigE adapter | |
5 | ||
6 | From: Maximilian Luz <luzmaximilian@gmail.com> | |
7 | ||
8 | commit ea261113385ac0a71c2838185f39e8452d54b152 upstream. | |
9 | ||
10 | Without USB_QUIRK_NO_LPM ethernet will not work and rtl8152 will | |
11 | complain with | |
12 | ||
13 | r8152 <device...>: Stop submitting intr, status -71 | |
14 | ||
15 | Adding the quirk resolves this. As the dock is externally powered, this | |
16 | should not have any drawbacks. | |
17 | ||
18 | Signed-off-by: Maximilian Luz <luzmaximilian@gmail.com> | |
19 | Cc: stable <stable@vger.kernel.org> | |
20 | Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> | |
21 | ||
22 | --- | |
23 | drivers/usb/core/quirks.c | 3 +++ | |
24 | 1 file changed, 3 insertions(+) | |
25 | ||
26 | --- a/drivers/usb/core/quirks.c | |
27 | +++ b/drivers/usb/core/quirks.c | |
28 | @@ -64,6 +64,9 @@ static const struct usb_device_id usb_qu | |
29 | /* Microsoft LifeCam-VX700 v2.0 */ | |
30 | { USB_DEVICE(0x045e, 0x0770), .driver_info = USB_QUIRK_RESET_RESUME }, | |
31 | ||
32 | + /* Microsoft Surface Dock Ethernet (RTL8153 GigE) */ | |
33 | + { USB_DEVICE(0x045e, 0x07c6), .driver_info = USB_QUIRK_NO_LPM }, | |
34 | + | |
35 | /* Cherry Stream G230 2.0 (G85-231) and 3.0 (G85-232) */ | |
36 | { USB_DEVICE(0x046a, 0x0023), .driver_info = USB_QUIRK_RESET_RESUME }, | |
37 |