]> 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)
commitfa0dd4b6554c1811ba13cc928db7e27197bb8698
treebdf89b26b943153b669bef77317d78b100924f8c
parent522cebd899cc545ff7b06207e27ae31e30f5b57c
[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