Hello, while playing around with gadgetfs and the ci13xxx_udc driver on mx28 I found some problems regarding locking and DMA handling. Another problem arises when using the ci13xxx_udc driver on mx28, because it has only 8 compared to 16 endpoints as the driver expects. With these patches g_ether and gadgetfs work on the mx28, however I was not able to test these patches on any other hardware. Voluntaries welcome. The driver still suffers from a segfault if a gadget driver is unloaded, but I failed to fix it properly, the bugreport/RFC patch will follow in a seperate mail. Please review and consider to apply. regards, Marc These patches target gregkh/usb.git usb-next but also apply to any recent v3.1-rcX. The following changes since commit 74bdf22b5c3858b06af46f19d05c23e76c40a3bb: USB: ftdi_sio: add PID for Sony Ericsson Urban (2011-10-04 10:27:31 -0700) are available in the git repository at: git.pengutronix.de:/git/mkl/linux-2.6.git for-usb-next Marc Kleine-Budde (6): USB: gadgetfs: gadgetfs_disconnect: fix inconsistent lock state USB: ci13xxx_udc: fix deadlock during rmmod USB: ci13xxx_udc: fix debug trace code USB: ci13xxx_udc: make suspend and resume in gadget driver optional USB: ci13xxx_udc: handle controllers with less than 16 EPs USB: ci13xxx_msm: add module license Michael Grzeschik (1): USB: ci13xxx_udc: fix logic to mark request dma addresses as invalid drivers/usb/gadget/ci13xxx_msm.c | 2 + drivers/usb/gadget/ci13xxx_udc.c | 48 ++++++++++++++++++++++++------------- drivers/usb/gadget/ci13xxx_udc.h | 2 +- drivers/usb/gadget/inode.c | 5 ++- 4 files changed, 37 insertions(+), 20 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