aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2015-10-06 17:23:37 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-10-12 22:56:26 -0700
commitabd2541f3900f058fffdd89dac125b5fd48a0037 (patch)
tree31abee3399ecade982e3ec0dbacd990beb881c1c /scripts/patch-kernel
parentstaging: comedi: me_daq: tidy up timer data register defines (diff)
staging: comedi: me_daq: tidy up ai fifo/chanlist register defines
Tidy up this register usage by defining some macros to set the channel and gain bits. Add a define for the bit that enables differential mode. Writing to this offset puts data in the ai chanlist fifo, reading from it gets data from the ai data fifo. For aesthetics, use the same define to read and write the registers. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Reviewed-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions