[media] marvell-ccic: add SOF / EOF pair check for marvell-ccic driver
authorLibin Yang <lbyang@marvell.com>
Wed, 3 Jul 2013 04:56:03 +0000 (01:56 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Fri, 26 Jul 2013 16:26:13 +0000 (13:26 -0300)
commit0a0b3fb42f78eded6a8d1249c545224242d8999e
tree0a52ba176a5c94af1257b530b5e967c5cd7aa3d8
parentad6ac452227b7cb93ac79beec092850d178740b1
[media] marvell-ccic: add SOF / EOF pair check for marvell-ccic driver

This patch adds the SOFx/EOFx pair check for marvell-ccic.
When switching format, the last EOF may not arrive when stop streamning.
And the EOF will be detected in the next start streaming.
Must ensure clear the left over frame flags before every really start streaming.

Signed-off-by: Albert Wang <twang13@marvell.com>
Signed-off-by: Libin Yang <lbyang@marvell.com>
Acked-by: Jonathan Corbet <corbet@lwn.net>
Acked-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/platform/marvell-ccic/mcam-core.c