AM/DM37x: musb: Use system DMA for unaligned buffers
authorAjay Kumar Gupta <ajay.gupta@ti.com>
Mon, 19 Apr 2010 07:56:15 +0000 (13:26 +0530)
committerAjay Kumar Gupta <ajay.gupta@ti.com>
Mon, 19 Apr 2010 09:43:00 +0000 (15:13 +0530)
commit1b839bea92586e48cbd07561c2f9262e56098ec5
tree5e9389e2782ce3f6adb7fe7c99d2f0686cb03846
parent2031f9c8137429e66f8af9c3d3226db9d99fceef
AM/DM37x: musb: Use system DMA for unaligned buffers

Mentor DMA on AM/DM37x requires the buffers to be aligned on a four byte
boundary. This affects the USB CDC/RNDIS class applications as networking
buffers are always unaligned for it.

Fixing this by using system DMA for unaligned buffers.

Signed-off-by: Ajay Kumar Gupta <ajay.gupta@ti.com>
drivers/usb/musb/Kconfig
drivers/usb/musb/musb_gadget.c
drivers/usb/musb/musbhsdma.c
drivers/usb/musb/musbhsdma.h