diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2015-06-08 11:53:59 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2015-07-06 13:25:46 +0200 |
commit | e3e30f63389a319ca45161b07eb74e60f1e7ea20 (patch) | |
tree | 023ca238a376ec0d936f0cfa70b1f1a9e1e189c6 /drivers/media/usb/stk1160/stk1160.h | |
parent | Merge tag 'v4.2-rc1' into patchwork (diff) | |
download | linux-e3e30f63389a319ca45161b07eb74e60f1e7ea20.tar.xz linux-e3e30f63389a319ca45161b07eb74e60f1e7ea20.zip |
[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>
Diffstat (limited to 'drivers/media/usb/stk1160/stk1160.h')
-rw-r--r-- | drivers/media/usb/stk1160/stk1160.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/media/usb/stk1160/stk1160.h b/drivers/media/usb/stk1160/stk1160.h index abdea484c998..3922a6cabde2 100644 --- a/drivers/media/usb/stk1160/stk1160.h +++ b/drivers/media/usb/stk1160/stk1160.h @@ -151,8 +151,7 @@ struct stk1160 { v4l2_std_id norm; /* current norm */ struct stk1160_fmt *fmt; /* selected format */ - unsigned int field_count; /* not sure ??? */ - enum v4l2_field field; /* also not sure :/ */ + unsigned int sequence; /* i2c i/o */ struct i2c_adapter i2c_adap; |