From 3192da8a79a86e139ad51e0b22e333108d359e96 Mon Sep 17 00:00:00 2001 From: markster Date: Thu, 9 Oct 2003 16:47:29 +0000 Subject: 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 --- wctdm.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'wctdm.c') diff --git a/wctdm.c b/wctdm.c index f979301..bc4a91a 100755 --- a/wctdm.c +++ b/wctdm.c @@ -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); -- cgit v1.2.3