From 12d14b595943cd53b1dc242889e76d36d29641e9 Mon Sep 17 00:00:00 2001 From: William Wu Date: Fri, 24 Aug 2018 10:18:22 +0800 Subject: [PATCH] usb: uas: Add JMicron JMS583 and CHIPFANCIER to unusual device These two devices give the following error on detection. Write cache: enabled, read cache: enabled, doesn't support DPO or FUA xhci-hcd xhci-hcd.5.auto: ERROR Transfer event for disabled endpoint or incorrect stream ring The same error is not seen when it is added to unusual_device list with US_FL_NO_REPORT_OPCODES and US_FL_BROKEN_FUA passed. Change-Id: Ia1035ea597c65ad7112f68f5cbdd792875ee2995 Signed-off-by: William Wu --- drivers/usb/storage/unusual_uas.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/drivers/usb/storage/unusual_uas.h b/drivers/usb/storage/unusual_uas.h index 8ed80f28416f..308bc3f65283 100644 --- a/drivers/usb/storage/unusual_uas.h +++ b/drivers/usb/storage/unusual_uas.h @@ -148,6 +148,18 @@ UNUSUAL_DEV(0x152d, 0x0578, 0x0000, 0x9999, USB_SC_DEVICE, USB_PR_DEVICE, NULL, US_FL_BROKEN_FUA), +UNUSUAL_DEV(0x152d, 0x0583, 0x0000, 0x9999, + "JMicron", + "JMS583", + USB_SC_DEVICE, USB_PR_DEVICE, NULL, + US_FL_BROKEN_FUA | US_FL_NO_REPORT_OPCODES), + +UNUSUAL_DEV(0x174c, 0x55aa, 0x0000, 0x9999, + "WINTOGO", + "CHIPFANCIER", + USB_SC_DEVICE, USB_PR_DEVICE, NULL, + US_FL_BROKEN_FUA | US_FL_NO_REPORT_OPCODES), + /* Reported-by: Hans de Goede */ UNUSUAL_DEV(0x2109, 0x0711, 0x0000, 0x9999, "VIA",