From: Doug Maxey Date: Thu, 6 Dec 2007 05:36:45 +0000 (-0600) Subject: usb-storage: Fix devices that cannot handle 32k transfers X-Git-Tag: v2.6.24-rc6~60^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=33abc04f0420dceed0ebc2d1094019d3bb2b5c29;p=pandora-kernel.git usb-storage: Fix devices that cannot handle 32k transfers When a device cannot handle the smallest previously limited transfer size (64 blocks) without stalling, limit the device to the amount of packets that fit in a platform native page. The lowest possible limit is PAGE_CACHE_SIZE, so if the device is ever used on a platform that has larger than 8K pages, you lose unless you can convince the device firmware folks to fix the issue. Cc: Mathew Dharm Cc: Alan Stern Cc: Pete Zaitcev Signed-off-by: Doug Maxey Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed