diff options
-rwxr-xr-x | wcfxs.c | 9 | ||||
-rwxr-xr-x | wctdm.c | 9 |
2 files changed, 6 insertions, 12 deletions
@@ -807,9 +807,6 @@ static int wcfxs_powerup_proslic(struct wcfxs *wc, int card, int fast) /* Set period of DC-DC converter to 1/64 khz */ wcfxs_setreg(wc, card, 92, 0xff /* was 0xff */); - /* Engage DC-DC converter */ - wcfxs_setreg(wc, card, 93, 0x99 /* was 0x19 */); - /* Wait for VBat to powerup */ origjiffies = jiffies; @@ -837,10 +834,10 @@ static int wcfxs_powerup_proslic(struct wcfxs *wc, int card, int fast) card, vbat * 376 / 1000, vbat, (int)(((jiffies - origjiffies) * 1000 / HZ))); } -#if 0 - /* Perform DC-DC calibration */ - /* wcfxs_setreg(wc, card, 93, 0x80); */ + /* Engage DC-DC converter */ + wcfxs_setreg(wc, card, 93, 0x99 /* was 0x19 */); +#if 0 origjiffies = jiffies; while(0x80 & wcfxs_getreg(wc, card, 93)) { if ((jiffies - origjiffies) > 2 * HZ) { @@ -807,9 +807,6 @@ static int wcfxs_powerup_proslic(struct wcfxs *wc, int card, int fast) /* Set period of DC-DC converter to 1/64 khz */ wcfxs_setreg(wc, card, 92, 0xff /* was 0xff */); - /* Engage DC-DC converter */ - wcfxs_setreg(wc, card, 93, 0x99 /* was 0x19 */); - /* Wait for VBat to powerup */ origjiffies = jiffies; @@ -837,10 +834,10 @@ static int wcfxs_powerup_proslic(struct wcfxs *wc, int card, int fast) card, vbat * 376 / 1000, vbat, (int)(((jiffies - origjiffies) * 1000 / HZ))); } -#if 0 - /* Perform DC-DC calibration */ - /* wcfxs_setreg(wc, card, 93, 0x80); */ + /* Engage DC-DC converter */ + wcfxs_setreg(wc, card, 93, 0x99 /* was 0x19 */); +#if 0 origjiffies = jiffies; while(0x80 & wcfxs_getreg(wc, card, 93)) { if ((jiffies - origjiffies) > 2 * HZ) { |