]> git.karo-electronics.de Git - linux-beck.git/commit
usb: gadget: mv_udc: fix dtd dma confusion
authorNeil Zhang <zhangwm@marvell.com>
Wed, 12 Oct 2011 08:49:36 +0000 (16:49 +0800)
committerFelipe Balbi <balbi@ti.com>
Thu, 13 Oct 2011 17:42:06 +0000 (20:42 +0300)
commitdaec765da767e4a6a30e1298862b28f2cae9a73f
treeaf15335fc0121b7e9b36519c6dafa5976ea587d8
parent046b07ac0458fba8c5ca8d9ee04658c02066ee03
usb: gadget: mv_udc: fix dtd dma confusion

The controller will prime failure sometimes when do the iperf test.
Add delay to wait controller release dtd dma before we free it.
Then the issue is gone.

Signed-off-by: Neil Zhang <zhangwm@marvell.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/mv_udc_core.c