staging: android: ion: Set the length of the DMA sg entries in buffer.
authorLiviu Dudau <Liviu.Dudau@arm.com>
Mon, 30 Jun 2014 17:31:14 +0000 (18:31 +0100)
committerLiviu Dudau <Liviu.Dudau@arm.com>
Wed, 2 Jul 2014 15:33:20 +0000 (16:33 +0100)
commitfbc1378fe7f002b0437b753031441bef4886cb35
treec562c61b91695f488f9bb3c9a2e18546ed619ba9
parentdd0f50e31b767c9e6c54c2971982047e7975a028
staging: android: ion: Set the length of the DMA sg entries in buffer.

ion_buffer_create() will allocate a buffer and then create a DMA
mapping for it, but it forgot to set the length of the page entries.

Signed-off-by: Liviu Dudau <Liviu.Dudau@arm.com>
drivers/staging/android/ion/ion.c