[PATCHv6 3/8] dma-mapping: add dma_{map,unmap}_resource
From: Konrad Rzeszutek Wilk <hidden>
Date: 2016-05-17 14:55:51
Also in:
linux-arch, linux-iommu, linux-renesas-soc, lkml
From: Konrad Rzeszutek Wilk <hidden>
Date: 2016-05-17 14:55:51
Also in:
linux-arch, linux-iommu, linux-renesas-soc, lkml
-In some circumstances dma_map_single() and dma_map_page() will fail to create -a mapping. A driver can check for these errors by testing the returned -DMA address with dma_mapping_error(). A non-zero return value means the mapping -could not be created and the driver should take appropriate action (e.g. -reduce current DMA mapping usage or delay and try again later). +In some circumstances dma_map_single(), dma_map_page() and dma_map_resource() +will fail to create a mapping. A driver can check for these errors by testing +the returned DMA address with dma_mapping_error(). A non-zero return value +means the mapping could not be created and the driver should take appropriate +action (e.g. reduce current DMA mapping usage or delay and try again later).
This looks like it belongs to another patch?