]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit - drivers/usb/musb/musb_host.c
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)
commitd72348fb5ca634583bf3f79996cc4b3ef91d9c3a
treed24d6d333f8ad87342a929f137fdff6d7a6ea92e
parent2d9c7f3ca54625f4d740af78f84ee232da3ca937
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: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/musb_host.c