upstream: [media] vivi: fix sequence counting
authorHans Verkuil <hans.verkuil@cisco.com>
Mon, 10 Feb 2014 11:08:45 +0000 (08:08 -0300)
committerChanho Park <chanho61.park@samsung.com>
Thu, 7 Aug 2014 05:26:31 +0000 (14:26 +0900)
commiteb1e2b41462d559a45df0881c15e416e0e7451c2
tree54db5e06d5226d086deb899121bb2352059638a6
parent18a578ef103c4031cf16c34273a28e9a48cc9644
upstream: [media] vivi: fix sequence counting

The sequence counting was not reset to 0 between each streaming run,
and it was increased only every other frame. This is incorrect behavior:
the confusion is with FIELD_ALTERNATE systems where each field is transmitted
separately and only when both fields have been received is the frame
sequence number increased.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/platform/vivi.c