aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/stk1160/Makefile
diff options
context:
space:
mode:
authorEzequiel GarcĂ­a <elezegarcia@gmail.com>2012-08-11 13:32:57 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-08-12 13:04:04 -0400
commit9cb2173e6ea8f2948bd1367c93083a2500fcf08f (patch)
treee440ade521db5c77181f026eefb207353a1ca620 /drivers/media/video/stk1160/Makefile
parentffd491fd6f4129c201926edbbd63e2088d82d2fa (diff)
[media] media: Add stk1160 new driver (easycap replacement)
This driver adds support for stk1160 usb bridge as used in some video/audio usb capture devices. It is a complete rewrite of staging/media/easycap driver and it's meant as a replacement. As stk1160 allows communication with an ac97 codec chip, this driver allows to register a control-only sound card to allow the user to access ac97 controls. Two devices have been used for testing: * 1-cvbs video and 1-audio ac97 input, * 4-cvbs inputs Both of these devices reports with the same id [05e1:0408], so the driver tries to support a superset of the capabilities. By using keep_buffers module parameter it's possible to prevent the driver from releasing urb buffers when streaming is stopped. The usage of this parameter can avoid memory fragmentation that may cause the driver to stop working on low memory systems. A similar mechanism is implemented in em28xx driver (see commit 86d38d). Signed-off-by: Ezequiel Garcia <elezegarcia@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/stk1160/Makefile')
-rw-r--r--drivers/media/video/stk1160/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/media/video/stk1160/Makefile b/drivers/media/video/stk1160/Makefile
new file mode 100644
index 00000000000..8a3c78482e7
--- /dev/null
+++ b/drivers/media/video/stk1160/Makefile
@@ -0,0 +1,11 @@
1obj-stk1160-ac97-$(CONFIG_VIDEO_STK1160_AC97) := stk1160-ac97.o
2
3stk1160-y := stk1160-core.o \
4 stk1160-v4l.o \
5 stk1160-video.o \
6 stk1160-i2c.o \
7 $(obj-stk1160-ac97-y)
8
9obj-$(CONFIG_VIDEO_STK1160) += stk1160.o
10
11ccflags-y += -Idrivers/media/video