Finally, here's the final version of musb mode1 dma support. It took some time to find out and fix all the corner cases that could come up. This has been tested on N900 which is omap3 based. It would be nice for other people to test on other architectures and see what needs to be changed to get mode1 support for all. Arnaud Mandy (17): usb: musb: gadget: removing ifdef dma code usb: musb: reorganizing code usb:musb: forcing non usage of dma usb: musb_gadget: renaming fuctions usb: musb_gadget: Tie rx path to interrupt event usb: musb: gadget: setting otg tranceiver to idle when registering gadget usb: musb: gadget: avoid allocating several dma channels usb: musb: gadget: introducing new start and stop dma funtion usb: musb: gadget: dma enabling for musb_gadget rx usb: musb: enabling dma option as module parameter usb: musb: reduce identation level usb: musb: received data length updated on dma abort usb: musb: clean-up in debug messages usb: musb: enabling dma tx for gadget usb: musb: fix behavior with g_zero and g_ether usb: musb: prevent possible kernel oops usb: musb: wait for RxPktRdy to get set Felipe Balbi (2): usb: musb: musbhsdma cleanup usb: musb: do not work if no gadget driver is loaded drivers/usb/musb/musb_core.c | 49 ++- drivers/usb/musb/musb_core.h | 5 +- drivers/usb/musb/musb_gadget.c | 1153 +++++++++++++++++++--------------------- drivers/usb/musb/musb_gadget.h | 9 +- drivers/usb/musb/musbhsdma.c | 198 ++++---- drivers/usb/musb/musbhsdma.h | 20 +- 6 files changed, 695 insertions(+), 739 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html