From: Andrew Morton Date: Thu, 25 Oct 2012 01:15:25 +0000 (+1100) Subject: documentation-dma-api-howtotxt-add-dma-mapping-error-check-usage-examples-fix X-Git-Tag: next-20121029~1^2~2 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=bd399d19b24aa743073f7debb63609308d9f6c03;p=karo-tx-linux.git documentation-dma-api-howtotxt-add-dma-mapping-error-check-usage-examples-fix fix typo, per Jesper Cc: Jesper Juhl Cc: Konrad Rzeszutek Wilk Cc: Shuah Khan Signed-off-by: Andrew Morton --- diff --git a/Documentation/DMA-API-HOWTO.txt b/Documentation/DMA-API-HOWTO.txt index 4a4fb295ceef..bf242bbeb547 100644 --- a/Documentation/DMA-API-HOWTO.txt +++ b/Documentation/DMA-API-HOWTO.txt @@ -751,7 +751,7 @@ Example 1: dma_unmap_single(dma_handle1); map_error_handling1: -Example 2: (if buffers are allocated a loop, unmap all mapped buffers when +Example 2: (if buffers are allocated in a loop, unmap all mapped buffers when mapping error is detected in the middle) dma_addr_t dma_addr;