summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/cx25840
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2009-01-15 09:53:18 +0100
committerHans Verkuil <hverkuil@xs4all.nl>2009-01-15 09:53:18 +0100
commit5e9c7b1b42b68600cc50c26061636c43d202aaeb (patch)
treeaab7fb193fbcc8c34c3f8b2f92f919cf2c8bba6f /linux/drivers/media/video/cx25840
parent675dd105ced8a06d7eac4abb6b6d01137447971d (diff)
downloadmediapointer-dvb-s2-5e9c7b1b42b68600cc50c26061636c43d202aaeb.tar.gz
mediapointer-dvb-s2-5e9c7b1b42b68600cc50c26061636c43d202aaeb.tar.bz2
cx25840: add comments explaining what the init() does.
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux/drivers/media/video/cx25840')
-rw-r--r--linux/drivers/media/video/cx25840/cx25840-core.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/linux/drivers/media/video/cx25840/cx25840-core.c b/linux/drivers/media/video/cx25840/cx25840-core.c
index 2860cd702..6d324002a 100644
--- a/linux/drivers/media/video/cx25840/cx25840-core.c
+++ b/linux/drivers/media/video/cx25840/cx25840-core.c
@@ -1120,6 +1120,16 @@ static void log_audio_status(struct i2c_client *client)
/* ----------------------------------------------------------------------- */
+/* This init operation must be called 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. */
static int cx25840_init(struct v4l2_subdev *sd, u32 val)
{
struct cx25840_state *state = to_state(sd);