mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
USB: storage: add quirk for SMI SM3350
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]>
This commit is contained in:
parent
c5603d2fdb
commit
0a99cc4b8e
1 changed files with 12 additions and 0 deletions
|
|
@ -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 <icenowy@aosc.io>
|
||||
* 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 <paul.hartman+linux@gmail.com>
|
||||
* This card reader returns "Illegal Request, Logical Block Address
|
||||
|
|
|
|||
Loading…
Reference in a new issue