]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitf52a705e0a8c57731ce3226517eb8cdfa46e82c0
treebdf89b26b943153b669bef77317d78b100924f8c
parent462caf27a880a0e3b349d69c8a3b01aac3f6047f
[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