diff options
Diffstat (limited to 'wcfxo.c')
-rwxr-xr-x | wcfxo.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -442,7 +442,7 @@ static void wcfxo_interrupt(int irq, void *dev_id, struct pt_regs *regs) wc->battdebounce = BATT_DEBOUNCE; } else if (!wc->battery) wc->battdebounce = BATT_DEBOUNCE; - if ((wc->nobatttimer > 1000) && + if ((wc->nobatttimer > 5000) && #ifdef ZERO_BATT_RING !(wc->readregs[0x05] & 0x04) && #endif @@ -671,7 +671,7 @@ static void wcfxo_restart_dma(struct wcfxo *wc) outb(0x0f, wc->ioaddr + WC_CNTL); /* Can't really wait, so simulate a wait */ for (x=0;x<100;x++) - inb(wc->ioaddr + WC_CNTL); + inb( wc->ioaddr + WC_CNTL); outb(0x01, wc->ioaddr + WC_CNTL); outb(0x01, wc->ioaddr + WC_OPER); } |