[media] stk1160: fix sequence handling
Fix the sequence counter: we're counting frames, not fields. Also remove the unused 'field' field. That would only be needed if this driver would support V4L2_FIELD_ALTERNATE. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
This commit is contained in:

committed by
Mauro Carvalho Chehab

parent
98006636b0
commit
e3e30f6338
@@ -194,6 +194,8 @@ static int stk1160_start_streaming(struct stk1160 *dev)
|
||||
/* Start saa711x */
|
||||
v4l2_device_call_all(&dev->v4l2_dev, 0, video, s_stream, 1);
|
||||
|
||||
dev->sequence = 0;
|
||||
|
||||
/* Start stk1160 */
|
||||
stk1160_write_reg(dev, STK1160_DCTRL, 0xb3);
|
||||
stk1160_write_reg(dev, STK1160_DCTRL+3, 0x00);
|
||||
|
Reference in New Issue
Block a user