[media] vivi: fix sequence counting
authorHans Verkuil <hans.verkuil@cisco.com>
Mon, 10 Feb 2014 11:08:45 +0000 (08:08 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Mon, 24 Feb 2014 13:57:54 +0000 (10:57 -0300)
commitf0af5e8f018daa83a0e8cfe7d406f81be82ae45d
treebdf89b26b943153b669bef77317d78b100924f8c
parentab58a30162f0383c06388af522bc889a5da38fc6
[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