[media] DocBook/media: Improve G_EDID specification
authorHans Verkuil <hverkuil@xs4all.nl>
Thu, 23 Apr 2015 06:38:57 +0000 (03:38 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 1 May 2015 10:09:50 +0000 (07:09 -0300)
commit45339d5ba86acb3aaf18745a4b30be113a4c7429
tree56ad7d878040857287f5c22aeb9385398eb7375a
parente56f8ef05cf6e759a6094fabc537d984137dfd86
[media] DocBook/media: Improve G_EDID specification

When using VIDIOC_G_EDID there is a special case where start_blocks and
blocks are both set to 0. In that case the driver just has to set blocks to
the total number of available blocks and return 0.

Even though the drivers do this right and v4l2-compliance tests for it, it
turned out not to be documented in the spec. Fix this.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Reported-by: Mats Randgaard <matrandg@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Documentation/DocBook/media/v4l/vidioc-g-edid.xml