[PATCH] usb: quirks: add DELAY_INIT quirk for another Silicon Motion flash drive

Miao Li posted 1 patch 2 weeks, 4 days ago
drivers/usb/core/quirks.c | 1 +
1 file changed, 1 insertion(+)
[PATCH] usb: quirks: add DELAY_INIT quirk for another Silicon Motion flash drive
Posted by Miao Li 2 weeks, 4 days ago
From: Miao Li <limiao@kylinos.cn> 

Another Silicon Motion flash drive also randomly work incorrectly
(lsusb does not list the device) on Huawei hisi platforms during
500 reboot cycles, and the DELAY_INIT quirk fixes this issue.

Signed-off-by: Miao Li <limiao@kylinos.cn>
---
 drivers/usb/core/quirks.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/usb/core/quirks.c b/drivers/usb/core/quirks.c
index 5523a8e29021..26fed25da26e 100644
--- a/drivers/usb/core/quirks.c
+++ b/drivers/usb/core/quirks.c
@@ -401,6 +401,7 @@ static const struct usb_device_id usb_quirk_list[] = {
 
 	/* Silicon Motion Flash Drive */
 	{ USB_DEVICE(0x090c, 0x1000), .driver_info = USB_QUIRK_DELAY_INIT },
+	{ USB_DEVICE(0x090c, 0x2000), .driver_info = USB_QUIRK_DELAY_INIT },
 
 	/* Sound Devices USBPre2 */
 	{ USB_DEVICE(0x0926, 0x0202), .driver_info =
-- 
2.25.1