summaryrefslogtreecommitdiffstats
path: root/include/media/cx25840.h
diff options
context:
space:
mode:
authorHans Verkuil2009-01-15 09:53:18 +0100
committerMauro Carvalho Chehab2009-03-30 17:42:23 +0200
commit6ca187abb2fc1a52b2a8e0422f3ffce2e3bb7ad0 (patch)
treebd6720ce26a8eb2dd4a2038bb8d66c9a1b879172 /include/media/cx25840.h
parentV4L/DVB (10249): v4l2-common: added v4l2_i2c_tuner_addrs() (diff)
downloadkernel-qcow2-linux-6ca187abb2fc1a52b2a8e0422f3ffce2e3bb7ad0.tar.gz
kernel-qcow2-linux-6ca187abb2fc1a52b2a8e0422f3ffce2e3bb7ad0.tar.xz
kernel-qcow2-linux-6ca187abb2fc1a52b2a8e0422f3ffce2e3bb7ad0.zip
V4L/DVB (10251): cx25840: add comments explaining what the init() does.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/media/cx25840.h')
-rw-r--r--include/media/cx25840.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/media/cx25840.h b/include/media/cx25840.h
index db431d513f2f..2c3fbaa33f74 100644
--- a/include/media/cx25840.h
+++ b/include/media/cx25840.h
@@ -21,6 +21,18 @@
#ifndef _CX25840_H_
#define _CX25840_H_
+/* Note that the cx25840 driver requires that the bridge driver calls the
+ v4l2_subdev's init operation in order to load the driver's firmware.
+ Without this the audio standard detection will fail and you will
+ only get mono.
+
+ Since loading the firmware is often problematic when the driver is
+ compiled into the kernel I recommend postponing calling this function
+ until the first open of the video device. Another reason for
+ postponing it is that loading this firmware takes a long time (seconds)
+ due to the slow i2c bus speed. So it will speed up the boot process if
+ you can avoid loading the fw as long as the video device isn't used. */
+
enum cx25840_video_input {
/* Composite video inputs In1-In8 */
CX25840_COMPOSITE1 = 1,