android_kernel_xiaomi_sm8350/drivers/usb/storage
Jost Diederichs 51cdc1c103 USB: usb-storage Motorola Phone Razr v3xx US_FL_FIX_CAPACITY patch
add razr v3xx US_FL_FIX_CAPACITY flag to unusual_devs.h in usb-storage

This is another Motorola phone that incorrectly reports the sector count
(off by one).

Problem Description: io errors when mounting phone's sd-card via the
phones usb port

Steps to reproduce: mount Motorola Razr v3xx phones sd-card on Linux Desktop
via usb cable. Phones USB port must be in memory card mode.

DEBUG output:
Jul 9 19:32:41 micky kernel: Buffer I/O error on device sdd, logical block 3970048
Jul 9 19:32:41 micky kernel: sd 11:0:0:0: [sdd] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE,SUGGEST_OK
Jul 9 19:32:41 micky kernel: sd 11:0:0:0: [sdd] Sense Key : Medium Error [current]
Jul 9 19:32:41 micky kernel: sd 11:0:0:0: [sdd] Add. Sense: No additional sense information
Jul 9 19:32:41 micky kernel: end_request: I/O error, dev sdd, sector 3970048


From: Jost Diederichs <jost@qdusa.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2008-08-13 17:32:52 -07:00
..
alauda.c
alauda.h
cypress_atacb.c
cypress_atacb.h
datafab.c USB: remove CVS keywords 2008-07-21 15:15:55 -07:00
datafab.h
debug.c USB: remove CVS keywords 2008-07-21 15:15:55 -07:00
debug.h USB: remove CVS keywords 2008-07-21 15:15:55 -07:00
dpcm.c USB: remove CVS keywords 2008-07-21 15:15:55 -07:00
dpcm.h USB: remove CVS keywords 2008-07-21 15:15:55 -07:00
freecom.c remove unnecessary <linux/hdreg.h> includes 2008-08-05 18:16:58 +02:00
freecom.h USB: remove CVS keywords 2008-07-21 15:15:55 -07:00
initializers.c USB: remove CVS keywords 2008-07-21 15:15:55 -07:00
initializers.h USB: remove CVS keywords 2008-07-21 15:15:55 -07:00
isd200.c USB: remove CVS keywords 2008-07-21 15:15:55 -07:00
isd200.h
jumpshot.c USB: remove CVS keywords 2008-07-21 15:15:55 -07:00
jumpshot.h
karma.c
karma.h
Kconfig USB Storage Sierra: TRU-Install feature update 2008-08-13 17:32:51 -07:00
libusual.c usb: libusual kthread_run() called with wrong format. 2008-05-02 10:25:51 -07:00
Makefile USB Storage Sierra: TRU-Install feature update 2008-08-13 17:32:51 -07:00
onetouch.c
onetouch.h
protocol.c USB: remove CVS keywords 2008-07-21 15:15:55 -07:00
protocol.h USB: remove CVS keywords 2008-07-21 15:15:55 -07:00
scsiglue.c usb-storage: revert DMA-alignment change for Wireless USB 2008-07-21 15:16:51 -07:00
scsiglue.h USB: remove CVS keywords 2008-07-21 15:15:55 -07:00
sddr09.c USB: remove CVS keywords 2008-07-21 15:15:55 -07:00
sddr09.h USB: remove CVS keywords 2008-07-21 15:15:55 -07:00
sddr55.c USB: remove CVS keywords 2008-07-21 15:15:55 -07:00
sddr55.h USB: remove CVS keywords 2008-07-21 15:15:55 -07:00
shuttle_usbat.c USB: remove CVS keywords 2008-07-21 15:15:55 -07:00
shuttle_usbat.h USB: remove CVS keywords 2008-07-21 15:15:55 -07:00
sierra_ms.c USB Storage Sierra: TRU-Install feature update 2008-08-13 17:32:51 -07:00
sierra_ms.h USB Storage Sierra: TRU-Install feature update 2008-08-13 17:32:51 -07:00
transport.c usb-storage: automatically recognize bad residues 2008-08-13 17:32:50 -07:00
transport.h USB: remove CVS keywords 2008-07-21 15:15:55 -07:00
unusual_devs.h USB: usb-storage Motorola Phone Razr v3xx US_FL_FIX_CAPACITY patch 2008-08-13 17:32:52 -07:00
usb.c USB Storage Sierra: TRU-Install feature update 2008-08-13 17:32:51 -07:00
usb.h USB: remove CVS keywords 2008-07-21 15:15:55 -07:00