Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8dc97ea2 authored by Federico Vaga's avatar Federico Vaga Committed by Mauro Carvalho Chehab
Browse files

[media] sta2x11_vip: convert to videobuf2, control framework, file handler



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: default avatarFederico Vaga <federico.vaga@gmail.com>
Acked-by: default avatarGiancarlo Asnaghi <giancarlo.asnaghi@st.com>
Acked-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 5815d0c4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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
+433 −640

File changed.

Preview size limit exceeded, changes collapsed.