1
linux/drivers/media/video/ivtv
Andy Walls 3ccc646b56 V4L/DVB: cx25840, v4l2-subdev, ivtv, pvrusb2: Fix ivtv/cx25840 tinny audio
This change attempts to fix the ivtv tinny audio problem by keeping digitizer
to encoder audio clocks running, while disabling the video clocks as needed to
avoid unpredictable PCI bus hangs.

To accomplish this, for the cx25840 module enabling of audio streaming had
to be separated from enabling video streaming, requiring an additional
v4l2_subdev_audio_op and calls to this new op in the pvrusb2 and ivtv drivers.

The cx231xx and cx23885 driver use the cx25840 module for affecting only
video on s_stream calls, so those drivers needed no change.

The CX23418 hardware does not exhibit either the tinny audio problem nor the PCI
bus hang, so the cx18 driver did not need corresponding changes.

CX2341[56] based cards that are not using the CX2584x family of chips
do not seem to be affected by the tinny audio problem, and this change should
not affect how they are configured. It will delay their first capture by
starting by another 300 msec though.

Many thanks go to Argus <pthorn-ivtvd@styx2002.no-ip.org> and
Martin Dauskardt <martin.dauskardt@gmx.de> whose persistent testing and
investigation of this problem will hopefully fix this problem once and for all
for many ivtv users.

Reported-by: Martin Dauskardt <martin.dauskardt@gmx.de>
Reported-by: Argus <pthorn-ivtvd@styx2002.no-ip.org>
Signed-off-by: Andy Walls <awalls@radix.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2010-02-26 15:10:41 -03:00
..
ivtv-cards.c V4L/DVB (13446): ivtv: Add more explicit detection of known IR devices for Hauppauge cards 2009-12-05 18:41:57 -02:00
ivtv-cards.h V4L/DVB (13446): ivtv: Add more explicit detection of known IR devices for Hauppauge cards 2009-12-05 18:41:57 -02:00
ivtv-controls.c V4L/DVB (12337): ivtv: Read buffer overflow 2009-08-13 20:39:02 -03:00
ivtv-controls.h
ivtv-driver.c V4L/DVB (13446): ivtv: Add more explicit detection of known IR devices for Hauppauge cards 2009-12-05 18:41:57 -02:00
ivtv-driver.h V4L/DVB (13444): ivtv: Add explicit IR controller initialization for the AVerTV M116 2009-12-05 18:41:56 -02:00
ivtv-fileops.c V4L/DVB (13555): v4l: Use video_device_node_name() instead of the minor number 2009-12-16 00:17:57 -02:00
ivtv-fileops.h
ivtv-firmware.c
ivtv-firmware.h
ivtv-gpio.c V4L/DVB (12336): ivtv: Fix improper GPIO audio mux input switch on video standard change 2009-09-12 12:18:12 -03:00
ivtv-gpio.h
ivtv-i2c.c V4L/DVB (13446): ivtv: Add more explicit detection of known IR devices for Hauppauge cards 2009-12-05 18:41:57 -02:00
ivtv-i2c.h V4L/DVB (13443): ivtv: Defer legacy I2C IR probing until after setup of known I2C devices 2009-12-05 18:41:56 -02:00
ivtv-ioctl.c V4L/DVB: cleanup redundant tests on unsigned 2009-06-16 18:20:58 -03:00
ivtv-ioctl.h
ivtv-irq.c V4L/DVB: ivtv: Fix race condition for queued udma transfers 2010-02-26 15:10:41 -03:00
ivtv-irq.h
ivtv-mailbox.c
ivtv-mailbox.h
ivtv-queue.c ivtv: Fix PCI DMA direction 2009-06-05 08:05:23 -07:00
ivtv-queue.h
ivtv-routing.c V4L/DVB (11380): v4l2-subdev: change s_routing prototype 2009-04-06 21:44:27 -03:00
ivtv-routing.h
ivtv-streams.c V4L/DVB: cx25840, v4l2-subdev, ivtv, pvrusb2: Fix ivtv/cx25840 tinny audio 2010-02-26 15:10:41 -03:00
ivtv-streams.h
ivtv-udma.c V4L/DVB: ivtv: Fix race condition for queued udma transfers 2010-02-26 15:10:41 -03:00
ivtv-udma.h
ivtv-vbi.c
ivtv-vbi.h
ivtv-version.h
ivtv-yuv.c V4L/DVB (11674): ivtv: fix incorrect bit tests 2009-05-09 18:53:10 -03:00
ivtv-yuv.h
ivtvfb.c V4L/DVB (11674): ivtv: fix incorrect bit tests 2009-05-09 18:53:10 -03:00
Kconfig
Makefile