From d711dbea7a7ed79938496cfe1e6cde56afb04144 Mon Sep 17 00:00:00 2001 From: Linyu Yuan Date: Wed, 16 Dec 2020 10:22:43 +0800 Subject: [PATCH] USB: Add LPM quirk for Silicon Motion Flash drive when check usb packet of the thumb drive, found it have issue of LPM resume signal, which cause device repeat disconnect and connect. add USB_QUIRK_NO_LPM quirk to disable LPM, then drive can work. Change-Id: Ib298496b64cc3d9551184e5c8db0ca955f58f4ad Signed-off-by: Linyu Yuan --- 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 c96c50faccf7..4dc5eb2c08cc 100644 --- a/drivers/usb/core/quirks.c +++ b/drivers/usb/core/quirks.c @@ -366,6 +366,9 @@ static const struct usb_device_id usb_quirk_list[] = { { USB_DEVICE(0x0904, 0x6103), .driver_info = USB_QUIRK_LINEAR_FRAME_INTR_BINTERVAL }, + /* Silicon Motion Flash drive */ + { USB_DEVICE(0x090c, 0x1000), .driver_info = USB_QUIRK_NO_LPM }, + /* Sound Devices USBPre2 */ { USB_DEVICE(0x0926, 0x0202), .driver_info = USB_QUIRK_ENDPOINT_BLACKLIST },