android_kernel_xiaomi_sm8350/drivers/usb/storage
Alan Stern a81a81a25d USB: storage: set CAPACITY_HEURISTICS flag for bad vendors
This patch (as1194) makes usb-storage set the CAPACITY_HEURISTICS flag
for all devices made by Nokia, Nikon, or Motorola.  These companies
seem to include the READ CAPACITY bug in all of their devices.

Since cell phones and digital cameras rely on flash storage, which
always has an even number of sectors, setting CAPACITY_HEURISTICS
shouldn't cause any problems.  Not even if the companies wise up and
start making devices without the bug.

A large number of unusual_devs entries are now unnecessary, so the
patch removes them.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-01-07 10:00:12 -08:00
..
alauda.c
alauda.h
cypress_atacb.c
cypress_atacb.h
datafab.c
datafab.h
debug.c
debug.h
freecom.c
freecom.h
initializers.c USB: support Huawei data card product IDs 2008-10-22 10:05:28 -07:00
initializers.h
isd200.c
isd200.h
jumpshot.c
jumpshot.h
karma.c
karma.h
Kconfig USB: usb-storage: merge DPCM support into SDDR09 2009-01-07 10:00:06 -08:00
libusual.c USB: storage: add last-sector hacks 2009-01-07 10:00:11 -08:00
Makefile USB: unusual dev for Option N.V. ZeroCD modems 2009-01-07 10:00:09 -08:00
onetouch.c
onetouch.h
option_ms.c USB: unusual dev for Option N.V. ZeroCD modems 2009-01-07 10:00:09 -08:00
option_ms.h USB: unusual dev for Option N.V. ZeroCD modems 2009-01-07 10:00:09 -08:00
protocol.c USB: usb-storage: merge ATAPI and QIC-157 protocol routines 2009-01-07 09:59:57 -08:00
protocol.h USB: usb-storage: merge ATAPI and QIC-157 protocol routines 2009-01-07 09:59:57 -08:00
scsiglue.c USB: storage: set CAPACITY_HEURISTICS flag for bad vendors 2009-01-07 10:00:12 -08:00
scsiglue.h
sddr09.c USB: usb-storage: merge DPCM support into SDDR09 2009-01-07 10:00:06 -08:00
sddr09.h USB: usb-storage: merge DPCM support into SDDR09 2009-01-07 10:00:06 -08:00
sddr55.c
sddr55.h
shuttle_usbat.c
shuttle_usbat.h
sierra_ms.c
sierra_ms.h
transport.c USB: storage: add last-sector hacks 2009-01-07 10:00:11 -08:00
transport.h USB: usb-storage: merge CB and CBI transport routines 2009-01-07 09:59:57 -08:00
unusual_devs.h USB: storage: set CAPACITY_HEURISTICS flag for bad vendors 2009-01-07 10:00:12 -08:00
usb.c USB: storage: make the "quirks=" module parameter writable 2009-01-07 10:00:12 -08:00
usb.h USB: storage: add last-sector hacks 2009-01-07 10:00:11 -08:00