[media] media: videobuf2: last_buffer_queued is set at fill_v4l2_buffer()
authorJunghak Sung <jh1009.sung@samsung.com>
Tue, 3 Nov 2015 10:16:40 +0000 (08:16 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 18 Dec 2015 15:55:35 +0000 (13:55 -0200)
commitdcbc216d33e99692276f0eb9ea508f66df4075bf
treec09ab97ca8de7c2bb6738bbff22dca6abe87f7ab
parent49d8ab9feaf20e7247edfdb36ce9ffa8db6b5f19
[media] media: videobuf2: last_buffer_queued is set at fill_v4l2_buffer()

The location in which last_buffer_queued is set is moved to fill_v4l2_buffer().
So, __vb2_perform_fileio() can use vb2_core_dqbuf() instead of
vb2_internal_dqbuf().

Signed-off-by: Junghak Sung <jh1009.sung@samsung.com>
Signed-off-by: Geunyoung Kim <nenggun.kim@samsung.com>
Acked-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Acked-by: Inki Dae <inki.dae@samsung.com>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Hans Verkuil <hansverk@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/v4l2-core/videobuf2-v4l2.c