Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 337863
b: refs/heads/master
c: 722bf0f
h: refs/heads/master
i:
  337861: d954c67
  337859: 36ace14
  337855: f7a238b
v: v3
  • Loading branch information
H Hartley Sweeten authored and Greg Kroah-Hartman committed Nov 13, 2012
1 parent 45210a5 commit eaff73d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3b9323b43d0c0914a852be6ed991f2fb421cb1f2
refs/heads/master: 722bf0f09f0931aab537400bee29f097ca218ba3
4 changes: 4 additions & 0 deletions trunk/drivers/staging/comedi/drivers/addi_apci_1516.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,12 @@ static irqreturn_t v_ADDI_Interrupt(int irq, void *d)

static int apci1516_reset(struct comedi_device *dev)
{
const struct addi_board *this_board = comedi_board(dev);
struct addi_private *devpriv = dev->private;

if (!this_board->i_Timer)
return 0;

outw(0x0, devpriv->iobase + APCI1516_DO_REG);
outw(0x0, devpriv->i_IobaseAddon + APCI1516_WDOG_CTRL_REG);
outw(0x0, devpriv->i_IobaseAddon + APCI1516_WDOG_RELOAD_LSB_REG);
Expand Down

0 comments on commit eaff73d

Please sign in to comment.