]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
USB: Storage: Add unusual_devs entry for VTech Kidizoom
authorNick Holloway <Nick.Holloway@pyrites.org.uk>
Wed, 26 Jan 2011 21:47:43 +0000 (21:47 +0000)
committerWilly Tarreau <w@1wt.eu>
Sat, 30 Apr 2011 14:52:56 +0000 (16:52 +0200)
commit c25f6b1591b158f7ae3b9132367d0fa6d632e70e upstream.

This device suffers from the off-by-one error when reporting the capacity,
so add entry with US_FL_FIX_CAPACITY.

Signed-off-by: Nick Holloway <Nick.Holloway@pyrites.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/storage/unusual_devs.h

index 0f7adadb83d10d7b412dc8c880a11ee3a78b8576..5c86413646ddb24c46f607db528f448ab4a8e8b3 100644 (file)
@@ -1616,6 +1616,13 @@ UNUSUAL_DEV(  0x0fca, 0x0006, 0x0001, 0x0001,
                US_FL_IGNORE_DEVICE ),
 #endif
 
+/* Submitted by Nick Holloway */
+UNUSUAL_DEV( 0x0f88, 0x042e, 0x0100, 0x0100,
+               "VTech",
+               "Kidizoom",
+               US_SC_DEVICE, US_PR_DEVICE, NULL,
+               US_FL_FIX_CAPACITY ),
+
 /* Reported by Michael Stattmann <michael@stattmann.com> */
 UNUSUAL_DEV(  0x0fce, 0xd008, 0x0000, 0x0000,
                "Sony Ericsson",