]> git.karo-electronics.de Git - karo-tx-linux.git/commit
usb: dwc3: gadget: set request dma to invalid when unmapping
authorFelipe Balbi <balbi@ti.com>
Sat, 27 Aug 2011 12:10:09 +0000 (15:10 +0300)
committerFelipe Balbi <balbi@ti.com>
Fri, 9 Sep 2011 10:02:01 +0000 (13:02 +0300)
commitf198ead21bcb7b03d7bb2cba7ba0f5ad615a3862
tree79e58d31e79008d7295a642d3a634c5fb001cc03
parentc611ccb48ac9b95e35741b43d018a2f6ed74c0e6
usb: dwc3: gadget: set request dma to invalid when unmapping

if we don't set DMA address to invalid when unmapping,
we might fall in a situation where request buffer
can't be mapped to DMA again.

Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc3/gadget.c