commit | aac49c3417dc9378cbcead70c671d79cd626709f | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Mon Apr 08 18:21:02 2013 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Apr 09 16:29:25 2013 -0700 |
tree | 97de3ad5e279b73083f3be34e9377da4479802dd | |
parent | c7c1161dfd98c00a1fa4691057b7418b8c26a1f2 [diff] |
staging: comedi: rti800: swap val and mask when reading ai data The (mask & val) operation when reading the high 4-bits of the analog data looks strange. Change it to (val & mask). Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Cc: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>