[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: 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>
This commit is contained in:
parent
5815d0c4d5
commit
8dc97ea20c
|
@ -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
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue