Re: [PATCH v2 1/2] usb: musb: cppi41: Add new functions for platform driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Alexandre Bailon <abailon@xxxxxxxxxxxx> [170117 05:16]:
> Currently, the CPPI 4.1 driver is not completely generic and
> only work on dsps.
> Add two functions which will help to move platform code from CPPI 4.1 to
> MUSB glue driver:
> - cppi41_register_dma_callback() to register a platform dma_callback
>   (e.g to acknowledge interrupt on DMA completion).
> - cppi41_dma_controller_to_musb() to convert a dma_controller pointer to
>   a musb pointer. This is required to get a musb pointer from DMA callbacks.

Can't you just add a new function to struct dma_controller in musb_dma.h?

Regards,

Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux