Here are a couple of patches to fix problems with AI commands in differential mode (particularly for single-channel acquisition) for NI Lab-PC+ cards and presumably the other Lab-PC cards supported by the driver (the relationship between channel multiplexor bits, scan enable bit and multiplexor bit seems to be identical for all of them in the register-level documentation). Thanks to Tuomas <tvainikk@xxxxxxxxx> for suggesting these fixes. 1) staging: comedi: ni_labpc: set up command4 register *after* command3 2) staging: comedi: ni_labpc: correct differential channel sequence for AI commands drivers/staging/comedi/drivers/ni_labpc.c | 34 ++++++++++++++++--------------- 1 file changed, 18 insertions(+), 16 deletions(-) _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/devel