Hi

This is something, that seems to be missing from all mmc host drivers. At 
least all except sdhci and, possibly, mmc-spi, but sdhci uses its own DMA 
engine, and mmc-spi does DMA synchronisation in a somewhat strange way - 
before and after SPI synchronisation for both data transfer directions. 
Otherwise all other drivers map and unmap SG lists, perform DMA transfers, 
but never call dma_sync_*_for_*(). Apparantly, this works, but IIUC, this 
violates the DMA API. I'm attaching a couple of patches for a couple of 
those drivers for consideration. If this is confirmed to be the right 
thing to do, I could do more of those.

Thanks
Guennadi
---
Guennadi Liakhovetski, Ph.D.
Freelance Open-Source Software Developer
http://www.open-technology.de/
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to