]> git.baikalelectronics.ru Git - kernel.git/commit
[media] control.rst: improve the queryctrl code examples
authorHans Verkuil <hverkuil@xs4all.nl>
Wed, 9 Nov 2016 08:31:10 +0000 (06:31 -0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 16 Nov 2016 17:27:11 +0000 (15:27 -0200)
commitcea080d3483e75aeb62a226b7e2f1d2aa810176e
tree61d75097b7838ec1ff80b216ca4f57e57b3c7092
parentaf24375c694d2db7930f8f293b7d6ceff9ea5601
[media] control.rst: improve the queryctrl code examples

The code examples on how to enumerate controls were really long in the
tooth. Update them.

Using FLAG_NEXT_CTRL is preferred these days, so give that example first.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Documentation/media/uapi/v4l/control.rst