ion: convert sg_dma_len(sg) to sg->length
authorColin Cross <ccross@android.com>
Tue, 12 Nov 2013 23:28:08 +0000 (15:28 -0800)
committerColin Cross <ccross@android.com>
Sat, 16 Nov 2013 00:11:11 +0000 (16:11 -0800)
commitc1d3cea1d0b985a78a87675a07c2dab865a416f1
treeffc00931985d2ac9280e7cfa983574ab21f401c7
parent51e3580bf9da57da9c860330293b73b0dbb296e0
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.

Change-Id: Id9b07f1196b2bafe04636fa1aa46dfc84d003cf0
Signed-off-by: Colin Cross <ccross@android.com>
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