diff options
author | markster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2003-10-09 16:47:29 +0000 |
---|---|---|
committer | markster <markster@5390a7c7-147a-4af0-8ec9-7488f05a26cb> | 2003-10-09 16:47:29 +0000 |
commit | 3192da8a79a86e139ad51e0b22e333108d359e96 (patch) | |
tree | df28b8671ef24a4e8ae567fb6d8440d81212c7f0 /wctdm.c | |
parent | 13bb974552a4fefd6e1c1a874c414b58fb7a6b6c (diff) |
Make sure DC/DC converter is off while resetting
git-svn-id: http://svn.digium.com/svn/zaptel/trunk@254 5390a7c7-147a-4af0-8ec9-7488f05a26cb
Diffstat (limited to 'wctdm.c')
-rwxr-xr-x | wctdm.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -799,6 +799,11 @@ static int wcfxs_init_proslic(struct wcfxs *wc, int card, int fast, int manual, /* Sanity check the ProSLIC */ if (!sane && wcfxs_proslic_insane(wc, card)) return -2; + + if (sane) { + /* Make sure we turn off the DC->DC converter to prevent anything from blowing up */ + wcfxs_setreg(wc, card, 14, 0x10); + } if (wcfxs_init_indirect_regs(wc, card)) { printk(KERN_INFO "Indirect Registers failed to initialize on module %d.\n", card); |