upstream: [media] v4l: ti-vpe: retain v4l2_buffer flags for captured buffers
authorArchit Taneja <archit@ti.com>
Tue, 11 Mar 2014 07:47:52 +0000 (04:47 -0300)
committerChanho Park <chanho61.park@samsung.com>
Thu, 7 Aug 2014 05:26:47 +0000 (14:26 +0900)
commitd4063a0e5727fd23f8b70fe2d221d9eb0e317a0f
treebb16e734ebba3cb78c56b773f119f5ed69ec79a1
parenta7303ce3ba3ef8e772de129232a446bcdf7e5f89
upstream: [media] v4l: ti-vpe: retain v4l2_buffer flags for captured buffers

The dequed CAPTURE_MPLANE type buffers don't contain the flags that the
originally queued OUTPUT_MPLANE type buffers have. This breaks compliance.

Copy the source v4l2_buffer flags to the destination v4l2_buffer flags before
they are dequed.

Reviewed-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Archit Taneja <archit@ti.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/platform/ti-vpe/vpe.c