]> pilppa.org Git - linux-2.6-omap-h63xx.git/commit
musb_hdrc: Fix tusb DMA corruption
authorTony Lindgren <tony@atomide.com>
Thu, 6 Sep 2007 01:27:56 +0000 (18:27 -0700)
committerTony Lindgren <tony@atomide.com>
Thu, 6 Sep 2007 02:07:33 +0000 (19:07 -0700)
commit884b0231a1bfc3b01a06548fca3653c0f7811433
tree610eea26a2d6bba066f82a06aaa28027086ddb4b
parent5e8433211858a43f30560251a7459540156e44fc
musb_hdrc: Fix tusb DMA corruption

It seems tusb has a problem with sync DMA being mixed with async PIO.
Wait for the EP XFR_SIZE to clear before re-using the same DMA channel.

Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/usb/musb/tusb6010_omap.c