On 08/12/2014 07:32 PM, Bin Liu wrote: > 633 #if defined(CONFIG_USB_INVENTRA_DMA) || defined(CONFIG_USB_UX500_DMA) > ... > 658 #else > 659 if (!is_cppi_enabled() && !tusb_dma_omap()) > 660 return false; > ... > 668 mode = (urb->transfer_flags & URB_ZERO_PACKET) ? 1 : 0; > 669 #endif > > So mode is only set to 1 for CPPI DMA when URB_ZERO_PACKET is set, > then musb_cppi41 driver will transmit the ZLP. > > For other DMA engine (INVERNTRA or UX500), its driver should have its > own channel_program() callback, cppi41 driver should not be called. Ah, ok. That's the detail I missed - the channel_program() is a different callback in that case. Alright then. Thanks, Daniel -- 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