gpu: ion: fill in buffer->{dev,size} before mapping new buffers
authorGreg Hackmann <ghackmann@google.com>
Fri, 13 Dec 2013 22:23:45 +0000 (14:23 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 14 Dec 2013 16:55:37 +0000 (08:55 -0800)
commit056be396881d6cc69e5946a3b4bfbd0f58d8c45a
treee229aca64a2760fca203bc5ed2a3b4e1675e4a03
parentce1f147a2ed5ed468ad3a2f8418dddfd205d1fd9
gpu: ion: fill in buffer->{dev,size} before mapping new buffers

At least one map_dma() implementation (EXYNOS_CONTIG) assumes the fields
are filled in

Signed-off-by: Greg Hackmann <ghackmann@google.com>
[jstultz: modified patch to apply to staging directory]
Signed-off-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/android/ion/ion.c