aboutsummaryrefslogtreecommitdiff
path: root/lib/kobject.c
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2008-03-27 14:52:57 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2008-04-24 21:16:46 -0700
commit148d9fe4c91a6356dae1b05b76b8133586c26be4 (patch)
tree46156fcacfb5a402c9f222a06257b3926ff17497 /lib/kobject.c
parentcc901bbb2e2a4e4f96da3d70dae332882c10054b (diff)
USB: usb-storage: use adaptive DMA mask
This patch (as1060) makes usb-storage set the DMA alignment mask for SCSI slaves to match the maxpacket size of the bulk-IN endpoint, rather than always setting it to 511. For full-speed devices that mask is too restrictive, and wireless USB devices can have maxpacket sizes larger than 512. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'lib/kobject.c')
0 files changed, 0 insertions, 0 deletions