From 93d7badf1b929120cbc886f3dfec3ca55549d086 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Sat, 7 Jun 2014 20:57:07 -0300 Subject: [PATCH] [media] omap3isp: ccdc: Only complete buffer when all fields are captured Checking that the captured field corresponds to the last required field depending on the requested field order before completing the buffer isn't enough. When the first field at stream start corresponds to the last required field, this would result in returning an interlaced buffer containing a single field. Fix this by keeping track of the fields captured in the buffer, and make sure that both fields are present for alternate field orders. Signed-off-by: Laurent Pinchart Tested-by: Enrico Butera Signed-off-by: Mauro Carvalho Chehab --- Reading git-format-patch failed