diff options
author | Johan Hovold <johan@kernel.org> | 2015-04-23 10:06:50 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-05-07 19:43:44 -0400 |
commit | 8ca9a3217f0ac35e8595bf203685a2205213ddc8 (patch) | |
tree | 072e2651428fbcfba2aab7e9366541b2827a0cac /drivers/usb/core/buffer.c | |
parent | a8425292816ceaa8c49e29d2114e85d85a73e080 (diff) |
USB: musb: fix inefficient copy of unaligned buffers
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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/core/buffer.c')
0 files changed, 0 insertions, 0 deletions