usb: musb: fix inefficient copy of unaligned buffers
authorJohan Hovold <johan@kernel.org>
Thu, 23 Apr 2015 14:06:50 +0000 (16:06 +0200)
committerFelipe Balbi <balbi@ti.com>
Mon, 27 Apr 2015 20:48:39 +0000 (15:48 -0500)
Make sure only to copy any actual data rather than the whole buffer,
when releasing the temporary buffer used for unaligned non-isochronous
transfers.

Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/musb_host.c

Simple merge