diff options
author | Luca Ceresoli <luca@lucaceresoli.net> | 2020-09-21 23:21:31 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-09-27 12:30:32 +0300 |
commit | 6cab05cf699062a61ae56e6c8e28f15d176ab42d (patch) | |
tree | 1b1be809efb9bde4a958caec0f5c95fffdfa8c89 /Documentation/driver-api/media/v4l2-subdev.rst | |
parent | 8cc72b9c706bc30e5314130bedc07e40497e9f67 (diff) | |
download | linux-6cab05cf699062a61ae56e6c8e28f15d176ab42d.tar.xz |
media: docs: v4l2-subdev: fix typo
Fix "will to" -> "will do".
Reviewed-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'Documentation/driver-api/media/v4l2-subdev.rst')
-rw-r--r-- | Documentation/driver-api/media/v4l2-subdev.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/driver-api/media/v4l2-subdev.rst b/Documentation/driver-api/media/v4l2-subdev.rst index bc7e1fc40a9d..9a7dddd97f5a 100644 --- a/Documentation/driver-api/media/v4l2-subdev.rst +++ b/Documentation/driver-api/media/v4l2-subdev.rst @@ -191,7 +191,7 @@ but it is better and easier to use this macro: err = v4l2_subdev_call(sd, core, g_std, &norm); -The macro will to the right ``NULL`` pointer checks and returns ``-ENODEV`` +The macro will do the right ``NULL`` pointer checks and returns ``-ENODEV`` if :c:type:`sd <v4l2_subdev>` is ``NULL``, ``-ENOIOCTLCMD`` if either :c:type:`sd <v4l2_subdev>`->core or :c:type:`sd <v4l2_subdev>`->core->g_std is ``NULL``, or the actual result of the :c:type:`sd <v4l2_subdev>`->ops->core->g_std ops. |