public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Federico Vaga <federico.vaga@vaga.pv.it>
To: "Hans Verkuil (hansverk)" <hansverk@cisco.com>
Cc: Linux Media Mailing List <linux-media@vger.kernel.org>,
	Mauro Carvalho Chehab <mchehab@kernel.org>,
	Federico Vaga <federico.vaga@vaga.pv.it>,
	Anton Sviridenko <anton@corp.bluecherry.net>,
	Andy Walls <awalls@md.metrocast.net>
Subject: Re: [PATCH] media/pci: set device_caps in struct video_device
Date: Tue, 11 Jun 2019 18:19:47 +0200	[thread overview]
Message-ID: <5238064.QDOFyfcAAn@harkonnen> (raw)
In-Reply-To: <6e6e5a52-fb5f-d11b-6fd9-aca7ecadbd31@cisco.com>

On Tuesday, June 11, 2019 2:08:23 PM CEST Hans Verkuil (hansverk) wrote:
> Instead of filling in the struct v4l2_capability device_caps
> field, fill in the struct video_device device_caps field.
> 
> That way the V4L2 core knows what the capabilities of the
> video device are.
> 
> But this only really works if all drivers use this, so convert
> all pci drivers in this patch.
> 
> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
> ---
>  drivers/media/common/saa7146/saa7146_fops.c   |  9 ++++
>  drivers/media/common/saa7146/saa7146_video.c  | 18 ++-----
>  drivers/media/pci/bt8xx/bttv-driver.c         | 50 ++++++++-----------
>  drivers/media/pci/cobalt/cobalt-v4l2.c        | 14 +++---
>  drivers/media/pci/cx18/cx18-ioctl.c           |  5 +-
>  drivers/media/pci/cx18/cx18-streams.c         |  1 +
>  drivers/media/pci/cx23885/cx23885-417.c       | 13 +++--
>  drivers/media/pci/cx23885/cx23885-video.c     | 22 ++++----
>  drivers/media/pci/cx25821/cx25821-video.c     | 14 +++---
>  drivers/media/pci/cx88/cx88-video.c           | 32 +++++-------
>  drivers/media/pci/dt3155/dt3155.c             |  5 +-
>  drivers/media/pci/ivtv/ivtv-ioctl.c           |  7 ---
>  drivers/media/pci/ivtv/ivtv-streams.c         | 14 ++++--
>  drivers/media/pci/ivtv/ivtvfb.c               | 10 ++++
>  drivers/media/pci/meye/meye.c                 |  6 +--
>  drivers/media/pci/saa7134/saa7134-core.c      | 15 ++++++
>  drivers/media/pci/saa7134/saa7134-empress.c   |  4 ++
>  drivers/media/pci/saa7134/saa7134-video.c     | 46 +++--------------
>  drivers/media/pci/saa7164/saa7164-encoder.c   | 15 ++----
>  drivers/media/pci/saa7164/saa7164-vbi.c       | 15 ++----
>  .../media/pci/solo6x10/solo6x10-v4l2-enc.c    |  5 +-
>  drivers/media/pci/solo6x10/solo6x10-v4l2.c    |  5 +-
>  drivers/media/pci/sta2x11/sta2x11_vip.c       |  6 +--

Limited to sta2x11_vip.c

Acked-by: Federico Vaga <federico.vaga@vaga.pv.it>

>  drivers/media/pci/tw68/tw68-video.c           |  8 +--
>  drivers/media/pci/tw686x/tw686x-video.c       |  5 +-
>  25 files changed, 154 insertions(+), 190 deletions(-)




      reply	other threads:[~2019-06-11 16:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-11 12:08 [PATCH] media/pci: set device_caps in struct video_device Hans Verkuil (hansverk)
2019-06-11 16:19 ` Federico Vaga [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=5238064.QDOFyfcAAn@harkonnen \
    --to=federico.vaga@vaga.pv.it \
    --cc=anton@corp.bluecherry.net \
    --cc=awalls@md.metrocast.net \
    --cc=hansverk@cisco.com \
    --cc=linux-media@vger.kernel.org \
    --cc=mchehab@kernel.org \
    /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