From: Ian Abbott Date: Thu, 1 May 2014 16:38:24 +0000 (+0100) Subject: staging: comedi: amplc_dio200_common: correct bound on counter mode X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~36^2~1041 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6e2954e801d7d93fe6f54eff988ddf25836fee0a;p=pandora-kernel.git staging: comedi: amplc_dio200_common: correct bound on counter mode For the mode configured by the `INSN_CONFIG_SET_COUNTER_MODE` comedi instruction for the counter subdevice channels supported by this module, the upper bound should be `I8254_MODE5 | I8254_BCD` ((5 << 1) | 1) rather than `I8254_MODE5 | I8254_BINARY` ((5 << 1) | 0). Fix it. Reported-by: Hartley Sweeten Signed-off-by: Ian Abbott Reviewed-by: H Hartley Sweeten Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed