aboutsummaryrefslogtreecommitdiff
path: root/Documentation/driver-api
diff options
context:
space:
mode:
authorGravatar Randy Dunlap <rdunlap@infradead.org> 2020-07-04 05:45:01 +0200
committerGravatar Mauro Carvalho Chehab <mchehab+huawei@kernel.org> 2020-11-27 13:01:54 +0100
commiteeee0dfda6d51a6c1ee5959680bcf299fcd5cfa9 (patch)
treef1ec5997602f277b2a5a629f901cceec6932bc3d /Documentation/driver-api
parentmedia: Documentation/driver-api: media/cec-core: drop doubled word (diff)
downloadlinux-eeee0dfda6d51a6c1ee5959680bcf299fcd5cfa9.tar.gz
linux-eeee0dfda6d51a6c1ee5959680bcf299fcd5cfa9.tar.bz2
linux-eeee0dfda6d51a6c1ee5959680bcf299fcd5cfa9.zip
media: Documentation/driver-api: media/v4l2-controls: drop doubled words
Drop the doubled words "type" and "the". Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Cc: Jonathan Corbet <corbet@lwn.net> Cc: linux-doc@vger.kernel.org Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'Documentation/driver-api')
-rw-r--r--Documentation/driver-api/media/v4l2-controls.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/driver-api/media/v4l2-controls.rst b/Documentation/driver-api/media/v4l2-controls.rst
index 77f42ea3bac7..b2e91804829b 100644
--- a/Documentation/driver-api/media/v4l2-controls.rst
+++ b/Documentation/driver-api/media/v4l2-controls.rst
@@ -335,7 +335,7 @@ current and new values:
union v4l2_ctrl_ptr p_new;
union v4l2_ctrl_ptr p_cur;
-If the control has a simple s32 type type, then:
+If the control has a simple s32 type, then:
.. code-block:: c
@@ -349,7 +349,7 @@ Within the control ops you can freely use these. The val and cur.val speak for
themselves. The p_char pointers point to character buffers of length
ctrl->maximum + 1, and are always 0-terminated.
-Unless the control is marked volatile the p_cur field points to the the
+Unless the control is marked volatile the p_cur field points to the
current cached control value. When you create a new control this value is made
identical to the default value. After calling v4l2_ctrl_handler_setup() this
value is passed to the hardware. It is generally a good idea to call this