V4L/DVB (12826): tm6000: adds 10ms delay between two consecutive i2c write ops
authorMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 8 Jan 2008 14:27:59 +0000 (11:27 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 18 May 2010 03:40:07 +0000 (00:40 -0300)
tm6000 original driver seems to use a delay between two consecutive i2c write
operations.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/staging/tm6000/tm6000-cards.c

index 23f9672d6937f8f3f2a7b1256479cdd6e2bf2986..d081f1423152d2aa419aa1c129317ffb0695aa6d 100644 (file)
@@ -190,6 +190,7 @@ static void tm6000_config_tuner (struct tm6000_core *dev)
 
                ctl.mts   = 1;
                ctl.read_not_reliable = 1;
+               ctl.msleep = 10;
 
                xc2028_cfg.tuner = TUNER_XC2028;
                xc2028_cfg.priv  = &ctl;