Skip to content

Commit

Permalink
[media] media: DocBook: Fix trivial typo in Sub-device Interface
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jonghun Han authored and Mauro Carvalho Chehab committed Sep 27, 2011
1 parent 9e83b3e commit 446b792
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Documentation/DocBook/media/v4l/dev-subdev.xml
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@

<para>When satisfied with the try results, applications can set the active
formats by setting the <structfield>which</structfield> argument to
<constant>V4L2_SUBDEV_FORMAT_TRY</constant>. Active formats are changed
<constant>V4L2_SUBDEV_FORMAT_ACTIVE</constant>. Active formats are changed
exactly as try formats by drivers. To avoid modifying the hardware state
during format negotiation, applications should negotiate try formats first
and then modify the active settings using the try formats returned during
Expand Down

0 comments on commit 446b792

Please sign in to comment.