summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorIan Abbott <abbotti@mev.co.uk>2016-11-14 20:16:21 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-01-09 08:07:44 +0100
commit5283a7bedbcbdfa654c8a4d7fb314d734a56e544 (patch)
treef3b3c839cc95ae38439c1b47ebf37db7ee5de777 /tools/perf/scripts/python
parente692edec93c10b480a7cbd3c76de90da93b82075 (diff)
staging: comedi: ni_mio_common: fix M Series ni_ai_insn_read() data mask
commit 655c4d442d1213b617926cc6d54e2a9a793fb46b upstream. For NI M Series cards, the Comedi `insn_read` handler for the AI subdevice is broken due to ANDing the value read from the AI FIFO data register with an incorrect mask. The incorrect mask clears all but the most significant bit of the sample data. It should preserve all the sample data bits. Correct it. Fixes: 817144ae7fda ("staging: comedi: ni_mio_common: remove unnecessary use of 'board->adbits'") Signed-off-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions