summaryrefslogtreecommitdiffstats
path: root/drivers/media/pci/ivtv/ivtv-alsa-mixer.c
Commit message (Collapse)AuthorAgeFilesLines
* [media] ivtv: use v4l2_g/s_ctrl instead of the g/s_ctrl opsHans Verkuil2016-07-121-3/+3
| | | | | | | | These ops are deprecated and should not be used anymore. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Cc: Andy Walls <awalls@md.metrocast.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
* [media] ivtv, ivtv-alsa: Add initial ivtv-alsa interface driver for ivtvAndy Walls2012-09-181-0/+175
This is a cut-and-paste port of the cx18-alsa driver to create an ivtv-alsa interface module for the ivtv driver. It is not actually hooked-up to the PCM stream DMA buffers from the ivtv driver yet. That will be done in a coming change, since that portion is so very different from the cx18 driver. This code has all or more of the bugs and shortcomings of the cx18-alsa interface driver: inconsistent use of itvsc->slock, ivtv-alsa-mixer.c is dead code, assumes 48 ksps regardless of the actual setting of the audio capture, problems with proper struct ivtv and struct ivtv_stream housekeeping, struct ivtv_open_id.v4l2_fh abuse, and $DIETY knows what else. Signed-off-by: Andy Walls <awalls@md.metrocast.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
OpenPOWER on IntegriCloud