]> git.karo-electronics.de Git - linux-beck.git/commit
[media] usbtv: fix v4l2-compliance issues
authorHans Verkuil <hverkuil@xs4all.nl>
Fri, 24 Apr 2015 07:26:01 +0000 (04:26 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 1 May 2015 10:35:24 +0000 (07:35 -0300)
commita988410ad141b5087f483ae32e4bd9b922be5ab8
treedf43ec547798a26bd76b2154880192e32e32da96
parent2b4fd3ede3bab65ef5b97387b90899d11e4d3202
[media] usbtv: fix v4l2-compliance issues

Running v4l2-compliance on my usbtv stick revealed two failures:

1) Correct handling of CREATE_BUFS in usbtv_queue_setup was missing. Added this.
2) The sequence counter wasn't reset to 0 when starting streaming.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/usb/usbtv/usbtv-video.c