projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c5603d2
)
USB: storage: add quirk for SMI SM3350
author
Icenowy Zheng
<
[email protected]
>
Thu, 3 Jan 2019 03:26:18 +0000
(11:26 +0800)
committer
Greg Kroah-Hartman
<
[email protected]
>
Mon, 7 Jan 2019 16:23:30 +0000
(17:23 +0100)
The SMI SM3350 USB-UFS bridge controller cannot handle long sense request
correctly and will make the chip refuse to do read/write when requested
long sense.
Add a bad sense quirk for it.
Signed-off-by: Icenowy Zheng <
[email protected]
>
Cc: stable <
[email protected]
>
Acked-by: Alan Stern <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/usb/storage/unusual_devs.h
patch
|
blob
|
history
diff --git
a/drivers/usb/storage/unusual_devs.h
b/drivers/usb/storage/unusual_devs.h
index f7f83b21dc746ab922d7f7e7c61add76a55fc560..ea0d27a94afe058b3671ad6c66989ecbbdb98568 100644
(file)
--- a/
drivers/usb/storage/unusual_devs.h
+++ b/
drivers/usb/storage/unusual_devs.h
@@
-1265,6
+1265,18
@@
UNUSUAL_DEV( 0x090c, 0x1132, 0x0000, 0xffff,
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
US_FL_FIX_CAPACITY ),
+/*
+ * Reported by Icenowy Zheng <
[email protected]
>
+ * The SMI SM3350 USB-UFS bridge controller will enter a wrong state
+ * that do not process read/write command if a long sense is requested,
+ * so force to use 18-byte sense.
+ */
+UNUSUAL_DEV( 0x090c, 0x3350, 0x0000, 0xffff,
+ "SMI",
+ "SM3350 UFS-to-USB-Mass-Storage bridge",
+ USB_SC_DEVICE, USB_PR_DEVICE, NULL,
+ US_FL_BAD_SENSE ),
+
/*
* Reported by Paul Hartman <
[email protected]
>
* This card reader returns "Illegal Request, Logical Block Address