From: Hans Verkuil <hans.verkuil@cisco.com>
Date: Wed, 29 May 2013 13:19:05 +0000 (-0300)
Subject: [media] DocBook/media/v4l: clarify the QUERYSTD documentation
X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f41c4332cfeae59e78aeda6c4eb9d0f4d42adbf2;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git

[media] DocBook/media/v4l: clarify the QUERYSTD documentation

Explicitly mention that this ioctl should return V4L2_STD_UNKNOWN if
not signal was detected.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
---

diff --git a/Documentation/DocBook/media/v4l/vidioc-querystd.xml b/Documentation/DocBook/media/v4l/vidioc-querystd.xml
index fe80a183d957..222348542182 100644
--- a/Documentation/DocBook/media/v4l/vidioc-querystd.xml
+++ b/Documentation/DocBook/media/v4l/vidioc-querystd.xml
@@ -54,7 +54,8 @@ standard automatically. To do so, applications call <constant>
 VIDIOC_QUERYSTD</constant> with a pointer to a &v4l2-std-id; type. The
 driver stores here a set of candidates, this can be a single flag or a
 set of supported standards if for example the hardware can only
-distinguish between 50 and 60 Hz systems. When detection is not
+distinguish between 50 and 60 Hz systems. If no signal was detected,
+then the driver will return V4L2_STD_UNKNOWN. When detection is not
 possible or fails, the set must contain all standards supported by the
 current video input or output.</para>