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 <linyyuan@codeaurora.org>
This commit is contained in:
Linyu Yuan 2020-12-16 10:22:43 +08:00
commit d711dbea7a

View file

@ -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 },