summaryrefslogtreecommitdiff
path: root/drivers/usb/gadget
diff options
context:
space:
mode:
authorAntti Seppälä <a.seppala@gmail.com>2018-07-05 17:31:54 +0300
committerFelipe Balbi <felipe.balbi@linux.intel.com>2018-07-17 10:12:52 +0300
commit1e111e885238bd861fd64273aab2ad1f803e34a3 (patch)
treeca9492f1b0316c5d05e9b0f4325354cefea19484 /drivers/usb/gadget
parent56406e017a883b54b339207b230f85599f4d70ae (diff)
downloadlinux-1e111e885238bd861fd64273aab2ad1f803e34a3.tar.xz
usb: dwc2: 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. Taken directly from commit 0efd937e27d5e ("USB: ehci-tegra: fix inefficient copy of unaligned buffers") Tested with Lantiq xRX200 (MIPS) and RPi Model B Rev 2 (ARM) Reviewed-by: Douglas Anderson <dianders@chromium.org> Signed-off-by: Antti Seppälä <a.seppala@gmail.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/usb/gadget')
0 files changed, 0 insertions, 0 deletions