android_kernel_google_msm/drivers/usb/storage
Oliver Neukum c5b2efe0f0 usb-storage: ignore ZTE MF 823 card reader in mode 0x1225
commit 5fb2c782f451a4fb9c19c076e2c442839faf0f76 upstream.

This device automatically switches itself to another mode (0x1405)
unless the specific access pattern of Windows is followed in its
initial mode. That makes a dirty unmount of the internal storage
devices inevitable if they are mounted. So the card reader of
such a device should be ignored, lest an unclean removal become
inevitable.

This replaces an earlier patch that ignored all LUNs of this device.
That patch was overly broad.

Signed-off-by: Oliver Neukum <oneukum@suse.com>
Reviewed-by: Lars Melin <larsm17@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Zefan Li <lizefan@huawei.com>
2016-03-21 09:17:47 +08:00
..
alauda.c
cypress_atacb.c usb-storage: CY7C68300A chips do not support Cypress ATACB 2013-05-07 19:51:53 -07:00
datafab.c
debug.c
debug.h
ene_ub6250.c
freecom.c
initializers.c USB: storage: fix Huawei mode switching regression 2013-03-20 13:04:58 -07:00
initializers.h USB: storage: fix Huawei mode switching regression 2013-03-20 13:04:58 -07:00
isd200.c
jumpshot.c
karma.c
Kconfig usb-storage: enable multi-LUN scanning when needed 2014-02-22 10:32:46 -08:00
libusual.c
Makefile
onetouch.c
option_ms.c
option_ms.h
protocol.c
protocol.h
realtek_cr.c
scsiglue.c usb-storage/SCSI: Add broken_fua blacklist flag 2015-04-14 17:33:56 +08:00
scsiglue.h
sddr09.c
sddr55.c
shuttle_usbat.c usb: storage: shuttle_usbat: fix discs being detected twice 2014-06-07 16:02:02 -07:00
sierra_ms.c
sierra_ms.h
transport.c usb-storage: handle a skipped data phase 2015-02-02 17:05:12 +08:00
transport.h
uas.c Revert "usb/uas: make sure data urb is gone if we receive status before that" 2012-08-09 08:31:29 -07:00
unusual_alauda.h
unusual_cypress.h usb-storage: restrict bcdDevice range for Super Top in Cypress ATACB 2014-02-22 10:32:46 -08:00
unusual_datafab.h
unusual_devs.h usb-storage: ignore ZTE MF 823 card reader in mode 0x1225 2016-03-21 09:17:47 +08:00
unusual_ene_ub6250.h
unusual_freecom.h
unusual_isd200.h
unusual_jumpshot.h
unusual_karma.h
unusual_onetouch.h
unusual_realtek.h
unusual_sddr09.h
unusual_sddr55.h
unusual_usbat.h
usb.c USB: storage: Define a new macro for USB storage match rules 2013-02-11 08:47:20 -08:00
usb.h
usual-tables.c USB: storage: Define a new macro for USB storage match rules 2013-02-11 08:47:20 -08:00