]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - Documentation/DMA-API-HOWTO.txt
clk: bcm2835: Register the DSI0/DSI1 pixel clocks.
[mirror_ubuntu-zesty-kernel.git] / Documentation / DMA-API-HOWTO.txt
index 494ffac655eee94d4d23c776a21c98ecb93d3251..979228bc9035ca35463a6adfb9db2a7c9f40f9a1 100644 (file)
@@ -699,7 +699,7 @@ to use the dma_sync_*() interfaces.
                dma_addr_t mapping;
 
                mapping = dma_map_single(cp->dev, buffer, len, DMA_FROM_DEVICE);
-               if (dma_mapping_error(cp->dev, dma_handle)) {
+               if (dma_mapping_error(cp->dev, mapping)) {
                        /*
                         * reduce current DMA mapping usage,
                         * delay and try again later or