staging: comedi: s626: correct a comment in s626_get_mode_b()
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>
This commit is contained in:
parent
2e179e428c
commit
7293808874
|
@ -800,7 +800,7 @@ static uint16_t s626_get_mode_b(struct comedi_device *dev,
|
||||||
S626_STDMSK_CLKPOL;
|
S626_STDMSK_CLKPOL;
|
||||||
} else {
|
} else {
|
||||||
/* If Counter mode (ClkSrcB<1> == 0): */
|
/* If Counter mode (ClkSrcB<1> == 0): */
|
||||||
/* Indicate Timer mode. */
|
/* Indicate Counter mode. */
|
||||||
setup |= S626_CLKSRC_COUNTER << S626_STDBIT_CLKSRC;
|
setup |= S626_CLKSRC_COUNTER << S626_STDBIT_CLKSRC;
|
||||||
/* Clock multiplier is passed through. */
|
/* Clock multiplier is passed through. */
|
||||||
setup |= (crb >> (S626_CRBBIT_CLKMULT_B -
|
setup |= (crb >> (S626_CRBBIT_CLKMULT_B -
|
||||||
|
|
Loading…
Reference in New Issue