ion: convert sg_dma_len(sg) to sg->length
authorColin Cross <ccross@android.com>
Fri, 13 Dec 2013 22:25:02 +0000 (14:25 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 14 Dec 2013 16:57:18 +0000 (08:57 -0800)
commit06e0dcaeb4fd72a010a1f5ad0c03abd8e0a58ef9
treeef4a050814ec6bc09a77c1d532bf572b37660ddd
parente946b209c2ed15b1f7917def8fe6602747c3f771
ion: convert sg_dma_len(sg) to sg->length

ion is always dealing with the allocation and not the mapping,
so it should always be using sg->length and not sg->dma_length.

Signed-off-by: Colin Cross <ccross@android.com>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/android/ion/ion.c
drivers/staging/android/ion/ion_chunk_heap.c
drivers/staging/android/ion/ion_heap.c
drivers/staging/android/ion/ion_system_heap.c