From: Sakari Ailus Date: Wed, 13 Jan 2021 08:34:41 +0000 (+0100) Subject: media: Documentation: media: Fix recently introduced build warning in subdev docs X-Git-Tag: v5.15~1736^2~177 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=54c261891ced2566cdd5a54c84fcc94a7322912a;p=platform%2Fkernel%2Flinux-starfive.git media: Documentation: media: Fix recently introduced build warning in subdev docs A reference to the sub-device pad ops was not follwed by a whitespace, resulting in a warning during documentation build. Fix it. Reported-by: Stephen Rothwell Fixes: 25c8d9a7689e ("media: Documentation: v4l: Document that link_validate op is valid for sink only") Signed-off-by: Sakari Ailus Signed-off-by: Mauro Carvalho Chehab --- diff --git a/Documentation/driver-api/media/v4l2-subdev.rst b/Documentation/driver-api/media/v4l2-subdev.rst index 6d5c799..0e82c77 100644 --- a/Documentation/driver-api/media/v4l2-subdev.rst +++ b/Documentation/driver-api/media/v4l2-subdev.rst @@ -123,7 +123,7 @@ Don't forget to cleanup the media entity before the sub-device is destroyed: media_entity_cleanup(&sd->entity); If a sub-device driver implements sink pads, the subdev driver may set the -link_validate field in :c:type:`v4l2_subdev_pad_ops`to provide its own link +link_validate field in :c:type:`v4l2_subdev_pad_ops` to provide its own link validation function. For every link in the pipeline, the link_validate pad operation of the sink end of the link is called. In both cases the driver is still responsible for validating the correctness of the format configuration