summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRen Bigcren <bigcren.ren@sonymobile.com>2013-07-02 13:34:30 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-08-04 16:25:42 +0800
commit975e6b1a5a5c74c91cf5a57932ff348576d1268d (patch)
tree39caf7aeb87ac38ca81879efd8d273b7f39d715e
parentc447fb2bd2b310e34c74580a494e001312a58a68 (diff)
downloadlinux-3.10-975e6b1a5a5c74c91cf5a57932ff348576d1268d.tar.gz
linux-3.10-975e6b1a5a5c74c91cf5a57932ff348576d1268d.tar.bz2
linux-3.10-975e6b1a5a5c74c91cf5a57932ff348576d1268d.zip
USB: storage: Add MicroVault Flash Drive to unusual_devs
commit e7a6121f4929c17215f0cdca3726f4bf3e4e9529 upstream. The device report an error capacity when read_capacity_16(). Using read_capacity_10() can get the correct capacity. Signed-off-by: Ren Bigcren <bigcren.ren@sonymobile.com> Cc: Matthew Dharm <mdharm-usb@one-eyed-alien.net> Signed-off-by: Oskar Andero <oskar.andero@sonymobile.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/usb/storage/unusual_devs.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/usb/storage/unusual_devs.h b/drivers/usb/storage/unusual_devs.h
index 8ee632c4f84..cf442e012da 100644
--- a/drivers/usb/storage/unusual_devs.h
+++ b/drivers/usb/storage/unusual_devs.h
@@ -657,6 +657,13 @@ UNUSUAL_DEV( 0x054c, 0x016a, 0x0000, 0x9999,
USB_SC_DEVICE, USB_PR_DEVICE, NULL,
US_FL_FIX_INQUIRY ),
+/* Submitted by Ren Bigcren <bigcren.ren@sonymobile.com> */
+UNUSUAL_DEV( 0x054c, 0x02a5, 0x0100, 0x0100,
+ "Sony Corp.",
+ "MicroVault Flash Drive",
+ USB_SC_DEVICE, USB_PR_DEVICE, NULL,
+ US_FL_NO_READ_CAPACITY_16 ),
+
/* floppy reports multiple luns */
UNUSUAL_DEV( 0x055d, 0x2020, 0x0000, 0x0210,
"SAMSUNG",