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>
This commit is contained in:
Родитель
8cc72b9c70
Коммит
6cab05cf69
|
@ -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.
|
||||
|
|
Загрузка…
Ссылка в новой задаче