diff options
author | Hans Verkuil | 2015-04-03 07:22:40 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab | 2015-05-01 06:59:03 -0300 |
commit | 9450684b7439202f62a37183104b31d884ff0de3 (patch) | |
tree | 568825b63319930f481d261bfe8b6ca58700b942 /drivers/media/pci/cx88/cx88.h | |
parent | 6752d73046bb54efa04afd1072dd3c283aba01f2 (diff) |
[media] cx88: v4l2-compliance fixes
Fix three v4l2-compliance failures:
- the colorspace wasn't set in vidioc_try_fmt_vid_cap().
- the field wasn't set in v4l2_buffer when vb2_buffer_done() was called.
- the sequence wasn't set in v4l2_buffer when vb2_buffer_done() was called.
This fix also removes the unused buf->count field and starts the count
at 0 instead of 1.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/pci/cx88/cx88.h')
-rw-r--r-- | drivers/media/pci/cx88/cx88.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/pci/cx88/cx88.h b/drivers/media/pci/cx88/cx88.h index b9fe1ac24803..e75547827c52 100644 --- a/drivers/media/pci/cx88/cx88.h +++ b/drivers/media/pci/cx88/cx88.h @@ -327,7 +327,6 @@ struct cx88_buffer { /* cx88 specific */ unsigned int bpl; struct cx88_riscmem risc; - u32 count; }; struct cx88_dmaqueue { |