staging: android: ion: Duplicate sg_table
authorLaura Abbott <labbott@redhat.com>
Mon, 3 Apr 2017 18:57:47 +0000 (11:57 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 8 Apr 2017 10:35:11 +0000 (12:35 +0200)
commit17fd283f3870dd63c91c99591aab14e21799c119
tree293187509692bf0bfe517216ee0397a6a9dff862
parent1d9735efaceb1fdd921e0a08a914cbec4fdd0b1b
staging: android: ion: Duplicate sg_table

Ion currently returns a single sg_table on each dma_map call. This is
incorrect for later usage.

Signed-off-by: Laura Abbott <labbott@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/android/ion/ion.c