From: Sylwester Nawrocki <snjw23@gmail.com>
To: Mauro Carvalho Chehab <mchehab@redhat.com>
Cc: Sakari Ailus <sakari.ailus@iki.fi>,
"linux-media@vger.kernel.org" <linux-media@vger.kernel.org>,
Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
David Cohen <dacohen@gmail.com>,
Hans Verkuil <hverkuil@xs4all.nl>,
Andy Shevchenko <andriy.shevchenko@linux.intel.com>,
Tomasz Stanislawski <t.stanislaws@samsung.com>,
tuukkat76@gmail.com, Kamil Debski <k.debski@samsung.com>,
Kim HeungJun <riverful@gmail.com>,
teturtia@gmail.com, pradeep.sawlani@gmail.com
Subject: Re: [GIT PULL FOR v3.5] V4L2 subdev and sensor control changes and SMIA++ driver
Date: Tue, 10 Apr 2012 22:26:47 +0200 [thread overview]
Message-ID: <4F849787.6000503@gmail.com> (raw)
In-Reply-To: <4F8479E3.3040007@redhat.com>
Hi Mauro,
On 04/10/2012 08:20 PM, Mauro Carvalho Chehab wrote:
...
>> The following changes since commit 296da3cd14db9eb5606924962b2956c9c656dbb0:
>>
>> [media] pwc: poll(): Check that the device has not beem claimed for streaming already (2012-03-27 11:42:04 -0300)
>>
>> are available in the git repository at:
>> ssh://linuxtv.org/git/sailus/media_tree.git media-for-3.5
>>
>> Jesper Juhl (1):
>> adp1653: Remove unneeded include of version.h
>>
>> Laurent Pinchart (2):
>> omap3isp: Prevent pipelines that contain a crashed entity from starting
>> omap3isp: Fix frame number propagation
>>
>> Sakari Ailus (37):
>> v4l: Introduce integer menu controls
>> v4l: Document integer menu controls
>> vivi: Add an integer menu test control
>> v4l: VIDIOC_SUBDEV_S_SELECTION and VIDIOC_SUBDEV_G_SELECTION IOCTLs
>> v4l: vdev_to_v4l2_subdev() should have return type "struct v4l2_subdev *"
>> v4l: Check pad number in get try pointer functions
>> v4l: Support s_crop and g_crop through s/g_selection
>> v4l: Add subdev selections documentation: svg and dia files
>> v4l: Add subdev selections documentation
>
> There's something wrong here:
>
> Warning: multiple "IDs" for constraint linkend: vidioc-subdev-g-selection.
> Warning: multiple "IDs" for constraint linkend: v4l2-subdev-selection-targets.
> Warning: multiple "IDs" for constraint linkend: v4l2-subdev-selection-targets.
> Warning: multiple "IDs" for constraint linkend: v4l2-subdev-selection-flags.
> Warning: multiple "IDs" for constraint linkend: v4l2-subdev-selection.
> No template for "/book/part/chapter/section/section/section/para" (or any of its leaves) exists in the context named "title" in the "en" localization.
> No template for "/book/part/chapter/section/section/section/para" (or any of its leaves) exists in the context named "title" in the "en" localization.
> Warning: multiple "IDs" for constraint linkend: v4l2-subdev-selection-flags.
> Warning: multiple "IDs" for constraint linkend: vidioc-subdev-g-selection.
> Warning: multiple "IDs" for constraint linkend: vidioc-subdev-g-selection.
> Warning: multiple "IDs" for constraint linkend: vidioc-subdev-g-selection.
> Warning: multiple "IDs" for constraint linkend: vidioc-subdev-g-selection.
> Warning: multiple "IDs" for constraint linkend: v4l2-subdev-selection-targets.
> Warning: multiple "IDs" for constraint linkend: v4l2-subdev-selection-flags.
> Warning: multiple "IDs" for constraint linkend: v4l2-subdev-selection.
> Error: no ID for constraint linkend: v4l2-jpeg-chroma-subsampling.
> Error: no ID for constraint linkend: v4l2-jpeg-chroma-subsampling.
> Warning: multiple "IDs" for constraint linkend: v4l2-subdev-selection.
>
> The index will break if there are two places with the same ID's.
>
> Sylvester,
>
> Btw, you also did a similar mistake: you've added a symbol at the API called
> v4l2_jpeg_chroma_subsampling, but you didn't create any reference for v4l2-jpeg-chroma-subsampling
> at the DocBook. Instead, you've created a jpeg-chroma-subsampling-control ID,
> not sure if it is for the same structure.
Yeah, it's for same structure.
I remember having some issues with using IDs in the Docbook directly derived
from the enum names, and then trying to dereference a particular control
description in other Docbook chapter.
But that was due to using &foo-id; rather than <link linkend="foo-id">foo_name</link>
and then I missed somehow to restore the required names.
> Sakari/Sylvester,
>
> The building system adds a link for each structure at the media header files
> to the corresponding structures inside the DocBook. It also adds it to the
> index.
>
> You need to take care that they'll point to the right things when sending us
> a DocBook patch.
Yes, I noticed that already, a bit too late though, sorry about that. Here is
a patch that fixes the issue: http://patchwork.linuxtv.org/patch/10512
However I'll shortly send an updated version, replacing
the jpeg-chroma-subsampling-control symbol directly with v4l2-jpeg-chroma-subsampling.
--
Regards
Sylwester
prev parent reply other threads:[~2012-04-10 20:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-02 16:26 [GIT PULL FOR v3.5] V4L2 subdev and sensor control changes and SMIA++ driver Sakari Ailus
2012-04-10 18:20 ` Mauro Carvalho Chehab
2012-04-10 20:26 ` Sylwester Nawrocki [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4F849787.6000503@gmail.com \
--to=snjw23@gmail.com \
--cc=andriy.shevchenko@linux.intel.com \
--cc=dacohen@gmail.com \
--cc=hverkuil@xs4all.nl \
--cc=k.debski@samsung.com \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@redhat.com \
--cc=pradeep.sawlani@gmail.com \
--cc=riverful@gmail.com \
--cc=sakari.ailus@iki.fi \
--cc=t.stanislaws@samsung.com \
--cc=teturtia@gmail.com \
--cc=tuukkat76@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.