Tag: cbb796ccd8c33c50249b876d9773dfa8e67d39cb

dmaengine: Use sg_dma_address instead of sg_phys

Author: Lars-Peter Clausen <lars@metafoo.de> dmaengine drivers should always use sg_dma_address instead of sg_phys to get the addresses for the transfer from a sg element. To quote Russel King: sg_phys(sg) of course has nothing to do with DMA addresses. It’s the physical address _to the CPU_ of the memory associated with the scatterlist entry. That may, …

Lire la suite