The patch number 10314 was added via Hans Verkuil <hverk...@xs4all.nl>
to http://linuxtv.org/hg/v4l-dvb master development tree.

Kernel patches in this development tree may be modified to be backward
compatible with older kernels. Compatibility modifications will be
removed before inclusion into the mainstream Kernel

If anyone has any objections, please let us know by sending a message to:
        Linux Media Mailing List <linux-me...@vger.kernel.org>

------

From: Hans Verkuil  <hverk...@xs4all.nl>
cx25840: ignore TUNER_SET_CONFIG in the command callback.


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 <hverk...@xs4all.nl>


---

 linux/drivers/media/video/cx25840/cx25840-core.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -r 1d8d4c91da9d -r 88f919e03d72 
linux/drivers/media/video/cx25840/cx25840-core.c
--- a/linux/drivers/media/video/cx25840/cx25840-core.c  Mon Jan 26 23:13:05 
2009 +0100
+++ b/linux/drivers/media/video/cx25840/cx25840-core.c  Tue Jan 27 10:20:34 
2009 +0100
@@ -1412,7 +1412,7 @@ static int cx25840_command(struct i2c_cl
 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


---

Patch is available at: 
http://linuxtv.org/hg/v4l-dvb/rev/88f919e03d722ba9a1750785a04301ddde3e885e

_______________________________________________
linuxtv-commits mailing list
linuxtv-commits@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to