USB: g_file_storage: fix bug in DMA buffer handling
authorAlan Stern <stern@rowland.harvard.edu>
Fri, 17 Aug 2007 14:58:16 +0000 (10:58 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 22 Aug 2007 21:27:59 +0000 (14:27 -0700)
commitd1a94f080f5bdfe46c9fb4954ffe8ae9ec29e44a
tree75dd9d6103a2227275e04a1295cf42da07fd094e
parent013d27f265de6934ad7fb48fb29ab0172a20ab40
USB: g_file_storage: fix bug in DMA buffer handling

This patch (as963) fixes a recently-introduced bug.  The gadget
conversion removing DMA-mapped buffer allocation did not remove quite
enough code from the g_file_storage driver; DMA pointers were being
set to 0.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/file_storage.c