]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/media/pci/sta2x11/sta2x11_vip.c
[media] sta2x11_vip: convert to videobuf2, control framework, file handler
authorFederico Vaga <federico.vaga@gmail.com>
Tue, 5 Feb 2013 17:34:37 +0000 (14:34 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 6 Feb 2013 16:17:17 +0000 (14:17 -0200)
commit8dc97ea20c2bdf406348640abbd35eb89c843957
tree4c5b297803aae10a604996e09d422f1f38d0b2bf
parent5815d0c4d55a80310138698c9dc516c759b6be87
[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>
drivers/media/pci/sta2x11/Kconfig
drivers/media/pci/sta2x11/sta2x11_vip.c