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. -- 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