Skip to content

Commit

Permalink
[media] sta2x11_vip: convert to videobuf2, control framework, file ha…
Browse files Browse the repository at this point in the history
…ndler

This patch re-write the driver and use the videobuf2
interface instead of the old videobuf. Moreover, it uses also
the control framework which allows the driver to inherit
controls from its subdevice (ADV7180). Finally the driver does not
implement custom file operation but it uses the generic ones from
videobuf2 and v4l2_fh

Signed-off-by: Federico Vaga <federico.vaga@gmail.com>
Acked-by: Giancarlo Asnaghi <giancarlo.asnaghi@st.com>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Federico Vaga authored and Mauro Carvalho Chehab committed Feb 6, 2013
1 parent 5815d0c commit 8dc97ea
Show file tree
Hide file tree
Showing 2 changed files with 434 additions and 641 deletions.
2 changes: 1 addition & 1 deletion drivers/media/pci/sta2x11/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ config STA2X11_VIP
tristate "STA2X11 VIP Video For Linux"
depends on STA2X11
select VIDEO_ADV7180 if MEDIA_SUBDRV_AUTOSELECT
select VIDEOBUF_DMA_CONTIG
select VIDEOBUF2_DMA_CONTIG
depends on PCI && VIDEO_V4L2 && VIRT_TO_BUS
help
Say Y for support for STA2X11 VIP (Video Input Port) capture
Expand Down
Loading

0 comments on commit 8dc97ea

Please sign in to comment.