Most drivers ignore the base channel in insn->chanspec for INSN_BITS
authorIan Abbott <abbotti@mev.co.uk>
Tue, 18 Jan 2011 16:26:27 +0000 (16:26 +0000)
committerIan Abbott <abbotti@mev.co.uk>
Tue, 18 Jan 2011 16:26:27 +0000 (16:26 +0000)
commit354caeae1c93cd63c0b85ddad8391502bf6bc26b
tree1f4e65f8fb22e158517641d107bc560286d6359c
parent543a5b5e93e6ca9a81b7d834f25306b71a2e7cd0
Most drivers ignore the base channel in insn->chanspec for INSN_BITS
instructions.  If the subdevice has no more than 32 channels, and the
base channel is non-zero, modify the instruction chanspec and data before
passing it to the driver with base channel set to 0, and modify the
returned data.
comedi/comedi_fops.c