]> git.karo-electronics.de Git - karo-tx-linux.git/commit
usb: dwc2: gadget: Fix DMA memory freeing
authorVardan Mikayelyan <mvardan@synopsys.com>
Fri, 6 Jan 2017 02:01:48 +0000 (18:01 -0800)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Thu, 12 Jan 2017 07:58:52 +0000 (09:58 +0200)
commit9383e084a88d04d442ea2dce128edff05f344e5c
treef10b756c783249a59fb6441566f1a2f5643d3903
parent990758c53eafe5a220a780ed12e7b4d51b3df032
usb: dwc2: gadget: Fix DMA memory freeing

Remove DMA memory free from EP disable flow by replacing
dma_alloc_coherent with dmam_alloc_coherent.

Tested-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Vardan Mikayelyan <mvardan@synopsys.com>
Signed-off-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc2/gadget.c