summaryrefslogtreecommitdiff
path: root/drivers/usb/host/uhci-hcd.c
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2008-12-18 21:41:49 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2009-01-07 18:00:12 (GMT)
commita81a81a25d3ecdab777abca87c5ddf484056103d (patch)
tree16cce845ef4737f0d0ce2d71981bb3e61dadb9a9 /drivers/usb/host/uhci-hcd.c
parentc838ea4626d6e982489ff519f9ecf5e1649ca90b (diff)
downloadlinux-a81a81a25d3ecdab777abca87c5ddf484056103d.tar.xz
USB: storage: set CAPACITY_HEURISTICS flag for bad vendors
This patch (as1194) makes usb-storage set the CAPACITY_HEURISTICS flag for all devices made by Nokia, Nikon, or Motorola. These companies seem to include the READ CAPACITY bug in all of their devices. Since cell phones and digital cameras rely on flash storage, which always has an even number of sectors, setting CAPACITY_HEURISTICS shouldn't cause any problems. Not even if the companies wise up and start making devices without the bug. A large number of unusual_devs entries are now unnecessary, so the patch removes them. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Cc: stable <stable@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host/uhci-hcd.c')
0 files changed, 0 insertions, 0 deletions