[PATCH] [RFC] USB: fsl_udc_core: fix build-failure for ARM

Russell King - ARM Linux linux at arm.linux.org.uk
Tue Jun 21 05:53:16 EDT 2011


On Tue, Jun 21, 2011 at 10:48:34AM +0100, Russell King - ARM Linux wrote:
> This is an iMX driver, which was written avoiding the DMA API despite
> it clearly doing DMA related stuff.  Allocating memory from kmalloc,
> translating it to physical addresses using virt_to_phys, etc.
> 
> The PPC people decided to reuse it, and ended up introducing some custom
> cache flushing APIs to get around the lack of dma_map_* usage.

Oops, no it wasn't - it was a freescale driver.  git log didn't go back
past the rename the imx people did.

But still, it needs converting to the DMA API rather than these private
arch bodges being introduced.



More information about the linux-arm-kernel mailing list