[media] s5p-mfc: Set last buffer flag
authorPhilipp Zabel <p.zabel@pengutronix.de>
Mon, 4 May 2015 10:51:08 +0000 (07:51 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 12 May 2015 06:54:34 +0000 (03:54 -0300)
commit52722ca8c53243c2b3eb45731c01ec4d8d219f3b
treeab36da65cf5e901824333b556e538b0f1c79181f
parent9f2bfb33a817459fdfe3277cdf864a2a4fe3ef7b
[media] s5p-mfc: Set last buffer flag

Setting the last buffer flag causes the videobuf2 core to return -EPIPE from
DQBUF calls on the capture queue after the last buffer is dequeued.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Kamil Debski <k.debski@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/s5p-mfc/s5p_mfc.c