diff options
author | Manu Abraham <abraham.manu@gmail.com> | 2008-02-03 17:37:02 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-12-29 14:53:23 -0500 |
commit | 40e8ce3dba8e9437ed48c88c268615dc0a4bebb2 (patch) | |
tree | b5588068dfd4ff2e7a16c420f98110a5be6ce711 /drivers/media/dvb/ttpci | |
parent | ed3d150eacfa87087f705a908a2586bdec5bf9b7 (diff) |
V4L/DVB (9457): Optimization, Fix a Bug
* cut down some I/O operations by disabling "disable gate"
* budget_av was left with the gate open, thereby more susceptible
to RF interference due to I/O operations
Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/ttpci')
-rw-r--r-- | drivers/media/dvb/ttpci/budget-av.c | 2 | ||||
-rw-r--r-- | drivers/media/dvb/ttpci/budget-ci.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/dvb/ttpci/budget-av.c b/drivers/media/dvb/ttpci/budget-av.c index d2b5cad8e06e..67a14c580a74 100644 --- a/drivers/media/dvb/ttpci/budget-av.c +++ b/drivers/media/dvb/ttpci/budget-av.c | |||
@@ -919,7 +919,7 @@ static const struct stb0899_s1_reg knc1_stb0899_s1_init_1[] = { | |||
919 | { STB0899_IRQMSK_0 , 0xff }, | 919 | { STB0899_IRQMSK_0 , 0xff }, |
920 | { STB0899_IRQCFG , 0x00 }, | 920 | { STB0899_IRQCFG , 0x00 }, |
921 | { STB0899_I2CCFG , 0x88 }, | 921 | { STB0899_I2CCFG , 0x88 }, |
922 | { STB0899_I2CRPT , 0x5c }, | 922 | { STB0899_I2CRPT , 0x58 }, /* Repeater=8, Stop=disabled */ |
923 | { STB0899_IOPVALUE5 , 0x00 }, | 923 | { STB0899_IOPVALUE5 , 0x00 }, |
924 | { STB0899_IOPVALUE4 , 0x20 }, | 924 | { STB0899_IOPVALUE4 , 0x20 }, |
925 | { STB0899_IOPVALUE3 , 0xc9 }, | 925 | { STB0899_IOPVALUE3 , 0xc9 }, |
diff --git a/drivers/media/dvb/ttpci/budget-ci.c b/drivers/media/dvb/ttpci/budget-ci.c index 5b6dbcc764cf..9cb8ff59e61f 100644 --- a/drivers/media/dvb/ttpci/budget-ci.c +++ b/drivers/media/dvb/ttpci/budget-ci.c | |||
@@ -1108,7 +1108,7 @@ static const struct stb0899_s1_reg tt3200_stb0899_s1_init_1[] = { | |||
1108 | { STB0899_IRQMSK_0 , 0xff }, | 1108 | { STB0899_IRQMSK_0 , 0xff }, |
1109 | { STB0899_IRQCFG , 0x00 }, | 1109 | { STB0899_IRQCFG , 0x00 }, |
1110 | { STB0899_I2CCFG , 0x88 }, | 1110 | { STB0899_I2CCFG , 0x88 }, |
1111 | { STB0899_I2CRPT , 0x48 }, /* 12k Pullup */ | 1111 | { STB0899_I2CRPT , 0x48 }, /* 12k Pullup, Repeater=16, Stop=disabled */ |
1112 | { STB0899_IOPVALUE5 , 0x00 }, | 1112 | { STB0899_IOPVALUE5 , 0x00 }, |
1113 | { STB0899_IOPVALUE4 , 0x20 }, | 1113 | { STB0899_IOPVALUE4 , 0x20 }, |
1114 | { STB0899_IOPVALUE3 , 0xc9 }, | 1114 | { STB0899_IOPVALUE3 , 0xc9 }, |