From: Greg Kroah-Hartman Date: Tue, 30 Jul 2013 00:24:47 +0000 (-0700) Subject: 3.0-stable patches X-Git-Tag: v3.0.89~24 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5ebc2a9217a2505f5d472bc4ee4bc822c7b8a1f3;p=thirdparty%2Fkernel%2Fstable-queue.git 3.0-stable patches added patches: usb-storage-add-microvault-flash-drive-to-unusual_devs.patch --- diff --git a/queue-3.0/series b/queue-3.0/series new file mode 100644 index 00000000000..414c71b2958 --- /dev/null +++ b/queue-3.0/series @@ -0,0 +1 @@ +usb-storage-add-microvault-flash-drive-to-unusual_devs.patch diff --git a/queue-3.0/usb-storage-add-microvault-flash-drive-to-unusual_devs.patch b/queue-3.0/usb-storage-add-microvault-flash-drive-to-unusual_devs.patch new file mode 100644 index 00000000000..7e6f30655b4 --- /dev/null +++ b/queue-3.0/usb-storage-add-microvault-flash-drive-to-unusual_devs.patch @@ -0,0 +1,37 @@ +From e7a6121f4929c17215f0cdca3726f4bf3e4e9529 Mon Sep 17 00:00:00 2001 +From: Ren Bigcren +Date: Tue, 2 Jul 2013 13:34:30 +0200 +Subject: USB: storage: Add MicroVault Flash Drive to unusual_devs + +From: Ren Bigcren + +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 +Cc: Matthew Dharm +Signed-off-by: Oskar Andero +Signed-off-by: Greg Kroah-Hartman + +--- + drivers/usb/storage/unusual_devs.h | 7 +++++++ + 1 file changed, 7 insertions(+) + +--- a/drivers/usb/storage/unusual_devs.h ++++ b/drivers/usb/storage/unusual_devs.h +@@ -657,6 +657,13 @@ UNUSUAL_DEV( 0x054c, 0x016a, 0x0000, 0x + USB_SC_DEVICE, USB_PR_DEVICE, NULL, + US_FL_FIX_INQUIRY ), + ++/* Submitted by Ren Bigcren */ ++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",