staging: comedi: ni_mio_common: ni_ai_insn_read() fixes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | staging: comedi: ni_mio_common: fix M Series ni_ai_insn_read() data maskdrivers/ | +1 | 0 replies | |
| 2/3 | staging: comedi: ni_mio_common: fix E series ni_ai_insn_read() datadrivers/ | +2 | 0 replies | |
| 3/3 | staging: comedi: ni_mio_common: remove variable 'dl' in ni_ai_insn_read()drivers/ | +7 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] staging: comedi: ni_mio_common: ni_ai_insn_read() fixes
A couple of bug fixes for incorrect sample data read by ni_ai_insn_read(), plus removal of an unnecessary variable.
1) staging: comedi: ni_mio_common: fix M Series ni_ai_insn_read() data mask
2) staging: comedi: ni_mio_common: fix E series ni_ai_insn_read() data
3) staging: comedi: ni_mio_common: remove variable 'dl' in ni_ai_insn_read()
The bug fix patches 1) and 2) apply cleanly to kernel version 4.7 onwards, but will need backporting to longterm kernels 3.18 onwards.
drivers/staging/comedi/drivers/ni_mio_common.c | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-)