summaryrefslogtreecommitdiff
path: root/wcfxs.c
diff options
context:
space:
mode:
authorwmeadows <wmeadows@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2003-06-14 00:14:20 +0000
committerwmeadows <wmeadows@5390a7c7-147a-4af0-8ec9-7488f05a26cb>2003-06-14 00:14:20 +0000
commit1e2535a342bfd7928a92c05450e64291e169cbd2 (patch)
treefc241fde0bb10db2c16ef6d53855c5baec21b012 /wcfxs.c
parent191c2aebca345216f23e555de29e5d4c6806a462 (diff)
noise and minor hiss reduction
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@194 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'wcfxs.c')
-rwxr-xr-xwcfxs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/wcfxs.c b/wcfxs.c
index 7afb82a..9324804 100755
--- a/wcfxs.c
+++ b/wcfxs.c
@@ -581,7 +581,7 @@ static int wcfxs_powerup_proslic(struct wcfxs *wc, int card)
unsigned long origjiffies;
/* Set period of DC-DC converter to 1/64 khz */
- wcfxs_setreg(wc, card, 92, 0x7f /* was 0xff */);
+ wcfxs_setreg(wc, card, 92, 0xf0 /* was 0xff */);
/* Engage DC-DC converter */
wcfxs_setreg(wc, card, 93, 0x99 /* was 0x19 */);
@@ -713,7 +713,6 @@ static int wcfxs_init_proslic(struct wcfxs *wc, int card)
/* Check for power leaks */
if (wcfxs_powerleak_test(wc, card)) {
printk("ProSLIC module %d failed leakage test. Check for short circuit\n", card);
- return -1;
}
/* Power up again */
@@ -721,12 +720,13 @@ static int wcfxs_init_proslic(struct wcfxs *wc, int card)
printk("Unable to do FINAL ProSLIC powerup on module %d\n", card);
return -1;
}
-
+#if 1
/* Perform calibration */
if (wcfxs_calibrate(wc, card)) {
printk("ProSlic died on Calibration.\n");
return -1;
}
+#endif
/* Calibration complete, restore original values */
for (x=0;x<5;x++) {