]> git.baikalelectronics.ru Git - kernel.git/commit
staging: android: ion: Get rid of map_dma/unmap_dma
authorLaura Abbott <labbott@redhat.com>
Mon, 8 Aug 2016 16:52:56 +0000 (09:52 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 15 Aug 2016 14:38:43 +0000 (16:38 +0200)
commitf84bca5add74b9c523d8b4d0fdb67ba09cd7136d
tree5590e706c02f7d535d0c874f11ebdcf4f6abc955
parent38740cd54870aa24ded104403a89268e6b77c567
staging: android: ion: Get rid of map_dma/unmap_dma

The map_dma API interface was designed to generate an sg_table.
Currently, every client just creates the table at allocation time and
then returns the one table. Nothing happens on unmap_dma either.
Just get rid of the API and assign the sg_table directly.

Signed-off-by: Laura Abbott <labbott@redhat.com>
Reviewed-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/android/ion/ion.c
drivers/staging/android/ion/ion_carveout_heap.c
drivers/staging/android/ion/ion_chunk_heap.c
drivers/staging/android/ion/ion_cma_heap.c
drivers/staging/android/ion/ion_priv.h
drivers/staging/android/ion/ion_system_heap.c