projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ac4ba0
)
*** empty log message ***
author
Frank Mori Hess
<fmhess@speakeasy.net>
Sat, 27 Jan 2001 21:26:19 +0000
(21:26 +0000)
committer
Frank Mori Hess
<fmhess@speakeasy.net>
Sat, 27 Jan 2001 21:26:19 +0000
(21:26 +0000)
comedi/drivers/das800.c
patch
|
blob
|
history
diff --git
a/comedi/drivers/das800.c
b/comedi/drivers/das800.c
index 0d9e524ed9b73a05cb8c311e9335dfc1ef76e2ed..416c7070e6791a45f96e8de9005e30f35d9f6423 100644
(file)
--- a/
comedi/drivers/das800.c
+++ b/
comedi/drivers/das800.c
@@
-844,10
+844,10
@@
static int das800_do_wbits(comedi_device *dev, comedi_subdevice *s, comedi_insn
mux_bits = inb(dev->iobase + DAS800_STATUS) & 0x7;
// only set bits that have been masked
+ data[0] &= 0xf;
wbits = devpriv->do_bits >> 4;
wbits &= ~data[0];
wbits |= data[0] & data[1];
- wbits &= 0xf;
devpriv->do_bits = wbits << 4;
comedi_spin_lock_irqsave(&devpriv->spinlock, irq_flags);