diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2009-01-27 10:20:34 +0100 |
---|---|---|
committer | Hans Verkuil <hverkuil@xs4all.nl> | 2009-01-27 10:20:34 +0100 |
commit | 662705dd5c574972df7a0698fe912f845ac54475 (patch) | |
tree | ece6e1334dcdb8cc1261cf1ae61c129e23d0f285 /linux/drivers | |
parent | bd16f634ca88082a992fd51a9f2a94b83ead6a78 (diff) | |
download | mediapointer-dvb-s2-662705dd5c574972df7a0698fe912f845ac54475.tar.gz mediapointer-dvb-s2-662705dd5c574972df7a0698fe912f845ac54475.tar.bz2 |
cx25840: ignore TUNER_SET_CONFIG in the command callback.
From: Hans Verkuil <hverkuil@xs4all.nl>
These days TUNER_SET_CONFIG is broadcast to the other i2c devices
and that triggers a fw load on the cx25840. Ignore this command
since cx25840 isn't a tuner and you really do not want to load
the firmware that early.
Priority: high
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux/drivers')
-rw-r--r-- | linux/drivers/media/video/cx25840/cx25840-core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/cx25840/cx25840-core.c b/linux/drivers/media/video/cx25840/cx25840-core.c index 6d324002a..57e80717f 100644 --- a/linux/drivers/media/video/cx25840/cx25840-core.c +++ b/linux/drivers/media/video/cx25840/cx25840-core.c @@ -1412,7 +1412,7 @@ static int cx25840_log_status(struct v4l2_subdev *sd) static int cx25840_command(struct i2c_client *client, unsigned cmd, void *arg) { /* ignore this command */ - if (cmd == TUNER_SET_TYPE_ADDR) + if (cmd == TUNER_SET_TYPE_ADDR || cmd == TUNER_SET_CONFIG) return 0; /* Old-style drivers rely on initialization on first use, so |