Files
linux/drivers
Ian Abbott fbfd9c8a17 staging: comedi: addi_apci_3120: 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.

Note: `struct addi_private` is used by some other ADDI-DATA drivers as
well, but this is the only one using the affected members.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-09-19 15:39:39 -07:00
..
2014-07-23 10:18:07 -07:00
2014-07-23 00:51:30 +02:00
2014-09-14 19:33:47 -07:00
2014-09-04 19:59:42 +02:00
2014-08-05 21:16:46 -07:00
2014-08-15 17:06:40 -04:00
2014-09-14 20:52:25 +01:00
2014-08-08 15:57:28 -07:00
2014-07-30 00:23:09 +02:00
2014-07-17 14:58:43 +02:00
2014-08-25 15:39:22 -04:00
2014-09-08 16:33:56 -07:00
2014-07-13 15:26:47 -07:00
2014-07-11 10:38:02 +02:00