]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - lib/swiotlb.c
[PATCH] UHCI: Don't log short transfers
[linux-2.6-omap-h63xx.git] / lib / swiotlb.c
index 3b482052f4036c29338ecdf9aae91efcaa5ec2f8..0af497b6b9a87f26b395e281cfd049a76a72ca41 100644 (file)
@@ -463,7 +463,7 @@ swiotlb_alloc_coherent(struct device *hwdev, size_t size,
                 */
                dma_addr_t handle;
                handle = swiotlb_map_single(NULL, NULL, size, DMA_FROM_DEVICE);
-               if (dma_mapping_error(handle))
+               if (swiotlb_dma_mapping_error(handle))
                        return NULL;
 
                ret = phys_to_virt(handle);