summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/composite.c
diff options
context:
space:
mode:
authorAndreas Larsson <andreas@gaisler.com>2014-09-15 12:32:54 +0200
committerFelipe Balbi <balbi@ti.com>2014-09-16 10:01:45 -0500
commit5b484989a998074762281a1ae71b2d88f26f66d6 (patch)
tree3b030e6fd8f43661117addcb28bdbbd575636243 /drivers/usb/gadget/composite.c
parentaf54954ad02091506ced45588215d389d606f74e (diff)
downloadop-kernel-dev-5b484989a998074762281a1ae71b2d88f26f66d6.zip
op-kernel-dev-5b484989a998074762281a1ae71b2d88f26f66d6.tar.gz
usb: gadget: gr_udc: Add bounce buffer to handle odd sized OUT requests
This adds a bounce buffer that handles the end of OUT requests where req.length is not divisible by ep->ep.maxpacket. Before this, such requests were rejected as the DMA engine cannot restrict itself to buffers that are smaller than ep->ep.maxpacket. Signed-off-by: Andreas Larsson <andreas@gaisler.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget/composite.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud