]> git.karo-electronics.de Git - linux-beck.git/commit
usb: gadget: udc: core: don't starve DMA resources
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Wed, 24 Aug 2016 11:33:27 +0000 (14:33 +0300)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Thu, 25 Aug 2016 07:36:24 +0000 (10:36 +0300)
commit23fd537c9508fb6e3b93ddf23982f51afc087781
tree90fbfe01bd55649a16b5db841e81a97a0fb15ad4
parent511a36d2f357724312bb3776d2f6eed3890928b2
usb: gadget: udc: core: don't starve DMA resources

Always unmap all SG entries as required by DMA API

Fixes: a698908d3b3b ("usb: gadget: add generic map/unmap request utilities")
Cc: <stable@vger.kernel.org> # v3.4+
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/gadget/udc/core.c