Felipe, On some platforms (ex. DaVinci) it is not advisable to switch between PIO and DMA modes across IO's. Regards swami -----Original Message----- From: linux-usb-owner@xxxxxxxxxxxxxxx [mailto:linux-usb-owner@xxxxxxxxxxxxxxx] On Behalf Of Felipe Balbi Sent: Tuesday, November 17, 2009 7:40 PM To: ext Sergei Shtylyov Cc: Balbi Felipe (Nokia-D/Helsinki); linux-usb@xxxxxxxxxxxxxxx; Pandita, Vikram; David Brownell; Bryan Wu; Gupta, Ajay Kumar; Mandy Arnaud.2 (EXT-Teleca/Helsinki) Subject: Re: [rfc/rft/patch v2 01/19] usb: musb: gadget: removing ifdef dma code hi, On Tue, Nov 17, 2009 at 03:08:07PM +0100, ext Sergei Shtylyov wrote: > Hum, I'd prefer the single packet sends to still be performed in Tx mode >0 regardless of the DMA engine. if you only have one small packet to transfer, there's no point in kicking dma for that. -- balbi -- 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 -- 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