projects
/
comedi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22e6733
)
Fix problem with DO subdevices in insn_rw_emulate_bits()
author
David Schleef
<ds@schleef.org>
Tue, 10 Jul 2001 22:12:17 +0000
(22:12 +0000)
committer
David Schleef
<ds@schleef.org>
Tue, 10 Jul 2001 22:12:17 +0000
(22:12 +0000)
comedi/drivers.c
patch
|
blob
|
history
diff --git
a/comedi/drivers.c
b/comedi/drivers.c
index 01b9707f6b4e8ad40d0f0af55c03df04fc4cf3c9..9dd1d609a54ffe4c9534c016b7dac1c5f710bd29 100644
(file)
--- a/
comedi/drivers.c
+++ b/
comedi/drivers.c
@@
-363,8
+363,6
@@
static int insn_rw_emulate_bits(comedi_device *dev,comedi_subdevice *s,
if(ret<0)return ret;
if(insn->insn == INSN_READ){
- if(!(s->subdev_flags & SDF_READABLE))
- return -EINVAL;
data[0] = (new_data[1]>>chan)&1;
}