]> git.karo-electronics.de Git - karo-tx-linux.git/commit
comedi vmk80xx: support bits instruction
authorJ. Ali Harlow <ali@avrc.city.ac.uk>
Wed, 18 May 2011 18:18:55 +0000 (19:18 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 18 May 2011 21:32:06 +0000 (14:32 -0700)
commitc647ed568af52cc75ece267ff02937d9263d1d27
tree69b41daee8e30384e7f45fe2a130b2dd0acfef22
parent510b9be374a4b589e7f6182d306b3c8ec9575e05
comedi vmk80xx: support bits instruction

Calling comedi_dio_bifield2() returns EBUSY permanently. Implementing
the insn_bits call fixes the problem and is good in its own right since
one can then read and write to all the digitial lines at the same time.
Tested on a K8055, but not on a K8061.

Signed-off-by: J. Ali Harlow <ali@avrc.city.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/comedi/drivers/vmk80xx.c