linux/drivers/media/video/cx25840
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
..
cx25840-audio.c V4L/DVB (13089): cx25840: Separate set_audclk_freq functionality for the different chips 2009-12-05 18:40:18 -02:00
cx25840-core.c V4L/DVB: cx25840, v4l2-subdev, ivtv, pvrusb2: Fix ivtv/cx25840 tinny audio 2010-02-26 15:10:41 -03:00
cx25840-core.h V4L/DVB (13088): cx25840: Convert chip/core family checks to static inline functions 2009-12-05 18:40:17 -02:00
cx25840-firmware.c V4L/DVB (13088): cx25840: Convert chip/core family checks to static inline functions 2009-12-05 18:40:17 -02:00
cx25840-vbi.c V4L/DVB (11309): cx25840: cleanup: remove intermediate 'ioctl' step 2009-03-30 12:43:49 -03:00
Kconfig V4L/DVB (9507): v4l: remove EXPERIMENTAL from several drivers 2008-12-29 17:53:26 -02:00
Makefile kbuild: fix unneeded rebuilds in drivers/media/video after moving source tree 2006-04-04 16:50:50 +02:00