summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Holloway <Nick.Holloway@pyrites.org.uk>2009-01-25 16:58:43 +0000
committerGreg Kroah-Hartman <gregkh@suse.de>2009-02-09 11:19:49 -0800
commit049a6acb503ca7acc11d563db79a2d54f054e0d0 (patch)
treeff19de81d77ffdd12c4c28e272adfe949ed04d85
parent26e1287594864169577327fef233befc9739be3b (diff)
downloadlinux-3.10-049a6acb503ca7acc11d563db79a2d54f054e0d0.tar.gz
linux-3.10-049a6acb503ca7acc11d563db79a2d54f054e0d0.tar.bz2
linux-3.10-049a6acb503ca7acc11d563db79a2d54f054e0d0.zip
USB: Storage: Update unusual_devs entry for Datafab KECF-USB
This device suffers from the off-by-one error when reporting the capacity, so add US_FL_FIX_CAPACITY to the existing entry. Signed-off-by: Nick Holloway <Nick.Holloway@pyrites.org.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r--drivers/usb/storage/unusual_devs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/storage/unusual_devs.h b/drivers/usb/storage/unusual_devs.h
index 8e878cab8dc..50dc33a6065 100644
--- a/drivers/usb/storage/unusual_devs.h
+++ b/drivers/usb/storage/unusual_devs.h
@@ -1214,7 +1214,7 @@ UNUSUAL_DEV( 0x07c4, 0xa400, 0x0000, 0xffff,
"Datafab",
"KECF-USB",
US_SC_DEVICE, US_PR_DEVICE, NULL,
- US_FL_FIX_INQUIRY ),
+ US_FL_FIX_INQUIRY | US_FL_FIX_CAPACITY ),
/* Reported by Rauch Wolke <rauchwolke@gmx.net> */
UNUSUAL_DEV( 0x07c4, 0xa4a5, 0x0000, 0xffff,