From 75fbdbf61dd9f68a28a5e233ad1ccdda7c6f94e8 Mon Sep 17 00:00:00 2001 From: Ian Abbott Date: Fri, 12 Sep 2014 10:04:44 +0100 Subject: [PATCH] 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-format-patch failed