Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[media] media: DocBook: Fix trivial typo in Sub-device Interface

When satisfied with the try results, applications can set the active formats
by setting the which argument to V4L2_SUBDEV_FORMAT_ACTIVE
not V4L2_SUBDEV_FORMAT_TRY.

Signed-off-by: Jonghun Han <jonghun.han@samsung.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

authored by

Jonghun Han and committed by
Mauro Carvalho Chehab
446b792c 9e83b3e4

+1 -1
+1 -1
Documentation/DocBook/media/v4l/dev-subdev.xml
··· 266 266 267 267 <para>When satisfied with the try results, applications can set the active 268 268 formats by setting the <structfield>which</structfield> argument to 269 - <constant>V4L2_SUBDEV_FORMAT_TRY</constant>. Active formats are changed 269 + <constant>V4L2_SUBDEV_FORMAT_ACTIVE</constant>. Active formats are changed 270 270 exactly as try formats by drivers. To avoid modifying the hardware state 271 271 during format negotiation, applications should negotiate try formats first 272 272 and then modify the active settings using the try formats returned during