Re: [PATCH] media/pci: set device_caps in struct video_device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
> ---
>  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@xxxxxxxxxx>

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






[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux