mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
9cb2173e6e
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>
21 lines
505 B
Plaintext
21 lines
505 B
Plaintext
config VIDEO_STK1160
|
|
tristate "STK1160 USB video capture support"
|
|
depends on VIDEO_DEV && I2C
|
|
select VIDEOBUF2_VMALLOC
|
|
select VIDEO_SAA711X
|
|
|
|
---help---
|
|
This is a video4linux driver for STK1160 based video capture devices.
|
|
|
|
To compile this driver as a module, choose M here: the
|
|
module will be called stk1160
|
|
|
|
config VIDEO_STK1160_AC97
|
|
bool "STK1160 AC97 codec support"
|
|
depends on VIDEO_STK1160 && SND
|
|
select SND_AC97_CODEC
|
|
|
|
---help---
|
|
Enables AC97 codec support for stk1160 driver.
|
|
.
|