]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: s626: correct S626_CRAMSK_CLKPOL_A macro (unused)
authorIan Abbott <abbotti@mev.co.uk>
Fri, 18 Oct 2013 13:40:53 +0000 (14:40 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 19 Oct 2013 20:47:23 +0000 (13:47 -0700)
commitc7bc1632a6de27b6998c9453362013b489703dcc
tree974be4164fac3c6467d77538ade8f83132c1a361
parentfc13225c977ffbbecf8c65d2f922d9a3226042cb
staging: comedi: s626: correct S626_CRAMSK_CLKPOL_A macro (unused)

The counter 'A' clock polarity field in the 'CRA' register is only 1 bit
wide, but the `S626_CRAMSK_CLKPOL_A` macro shows it as 2 bits wide,
which would overlap with the counter 'A' interrupt source field.  This
is harmless as the macro isn't actually used yet, but correct it anyway
as I want to use it!

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/s626.h