From: Ian Abbott Date: Fri, 12 Sep 2014 09:04:44 +0000 (+0100) Subject: staging: comedi: adl_pci9118: use dma_alloc_coherent() X-Git-Tag: fixes-for-v3.18-merge-window~15^2~434 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=75fbdbf61dd9f68a28a5e233ad1ccdda7c6f94e8;p=pandora-kernel.git staging: comedi: adl_pci9118: use dma_alloc_coherent() Use `dma_alloc_coherent()` to allocate the DMA buffers instead of using `__get_free_pages()` to allocate and `virt_to_bus()` to get the hardware address. The coherent buffers are fairly small - at most 4 pages (although there are two of them). Use of `virt_to_bus()` is discouraged. Signed-off-by: Ian Abbott Reviewed-by: H Hartley Sweeten Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed