From: Lubomir Rintel <lkundrak@v3.sk>
To: Mauro Carvalho Chehab <mchehab@s-opensource.com>,
Linux Doc Mailing List <linux-doc@vger.kernel.org>,
Linux Media Mailing List <linux-media@vger.kernel.org>
Subject: Re: [PATCH 3/3] media: add V4L2_CAP_VDEV_CENTERED flag on vdev-centric drivers
Date: Fri, 25 Aug 2017 11:47:05 +0200 [thread overview]
Message-ID: <1503654425.6909.16.camel@v3.sk> (raw)
In-Reply-To: <e0dfe1dc52d5c91bc75ffdb011a6714494409761.1503653839.git.mchehab@s-opensource.com>
On Fri, 2017-08-25 at 06:40 -0300, Mauro Carvalho Chehab wrote:
> From: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
>
> Those devices are controlled via their V4L2 device. Add a
> flag to indicate them as such.
>
> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Acked-by: Lubomir Rintel <lkundrak@v3.sk>
for the usbtv driver.
> ---
> drivers/media/usb/usbtv/usbtv-video.c | 2 +-
> diff --git a/drivers/media/usb/usbtv/usbtv-video.c b/drivers/media/usb/usbtv/usbtv-video.c
> index 8135614f395a..724dbcb8de9b 100644
> --- a/drivers/media/usb/usbtv/usbtv-video.c
> +++ b/drivers/media/usb/usbtv/usbtv-video.c
> @@ -520,7 +520,7 @@ static int usbtv_querycap(struct file *file, void *priv,
> strlcpy(cap->driver, "usbtv", sizeof(cap->driver));
> strlcpy(cap->card, "usbtv", sizeof(cap->card));
> usb_make_path(dev->udev, cap->bus_info, sizeof(cap->bus_info));
> - cap->device_caps = V4L2_CAP_VIDEO_CAPTURE;
> + cap->device_caps = V4L2_CAP_VIDEO_CAPTURE | V4L2_CAP_VDEV_CENTERED;
> cap->device_caps |= V4L2_CAP_READWRITE | V4L2_CAP_STREAMING;
> cap->capabilities = cap->device_caps | V4L2_CAP_DEVICE_CAPS;
> return 0;
>
prev parent reply other threads:[~2017-08-25 9:53 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-25 9:40 [PATCH 0/3] document types of hardware control for V4L2 Mauro Carvalho Chehab
2017-08-25 9:40 ` [PATCH 1/3] media: open.rst: document devnode-centric and mc-centric types Mauro Carvalho Chehab
2017-08-25 10:32 ` Hans Verkuil
2017-08-25 11:08 ` Sakari Ailus
2017-08-25 13:11 ` Laurent Pinchart
2017-08-25 13:38 ` Mauro Carvalho Chehab
2017-08-25 13:57 ` Laurent Pinchart
2017-08-25 14:02 ` Hans Verkuil
2017-08-25 9:40 ` [PATCH 2/3] media: videodev2: add a flag for vdev-centric devices Mauro Carvalho Chehab
2017-08-25 9:44 ` Hans Verkuil
2017-08-25 10:06 ` Mauro Carvalho Chehab
2017-08-25 10:13 ` Hans Verkuil
2017-08-25 10:35 ` Mauro Carvalho Chehab
2017-08-25 10:42 ` Hans Verkuil
2017-08-25 10:50 ` Mauro Carvalho Chehab
2017-08-25 10:56 ` Hans Verkuil
2017-08-25 11:15 ` Mauro Carvalho Chehab
2017-08-25 11:30 ` Mauro Carvalho Chehab
2017-08-25 11:35 ` Mauro Carvalho Chehab
2017-08-25 11:42 ` Hans Verkuil
2017-08-25 13:27 ` Laurent Pinchart
2017-08-25 9:40 ` [PATCH 3/3] media: add V4L2_CAP_VDEV_CENTERED flag on vdev-centric drivers Mauro Carvalho Chehab
2017-08-25 9:47 ` Lubomir Rintel [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=1503654425.6909.16.camel@v3.sk \
--to=lkundrak@v3.sk \
--cc=linux-doc@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@s-opensource.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).