]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
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)
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>

No differences found