USB: storage: add quirk for SMI SM3350
authorIcenowy Zheng <icenowy@aosc.io>
Thu, 3 Jan 2019 03:26:18 +0000 (11:26 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Jan 2019 21:12:31 +0000 (22:12 +0100)
commitb6fe06ee625a29920f914c4adcdd674c058bff60
tree8e82497a7271c22f73306ec1b2214f2c74fc8aa8
parent18689321172289a979ae4d293b761ac73fe16c9b
USB: storage: add quirk for SMI SM3350

commit 0a99cc4b8ee83885ab9f097a3737d1ab28455ac0 upstream.

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 <icenowy@aosc.io>
Cc: stable <stable@vger.kernel.org>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/storage/unusual_devs.h