Commit ebe86223 authored by Martin Homuth-Rosemann's avatar Martin Homuth-Rosemann Committed by Greg Kroah-Hartman

Staging: comedi - correct parameter gainlkup for DAQCard-6024E in driver ni_mio_cs.c

Correct at least one of the incorrect specs for a national instrument
data acquisition card DAQCard-6024E. This card has only four different
gain settings (+-10V, +-5V, +-0.5V, +-0.05V).
Signed-off-by: default avatarMartin Homuth-Rosemann <homuth-rosemann@gmx.net>
Cc: stable <stable@kernel.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 7f00b36e
...@@ -123,7 +123,7 @@ static const struct ni_board_struct ni_boards[] = { ...@@ -123,7 +123,7 @@ static const struct ni_board_struct ni_boards[] = {
.adbits = 12, .adbits = 12,
.ai_fifo_depth = 1024, .ai_fifo_depth = 1024,
.alwaysdither = 0, .alwaysdither = 0,
.gainlkup = ai_gain_16, .gainlkup = ai_gain_4,
.ai_speed = 5000, .ai_speed = 5000,
.n_aochan = 2, .n_aochan = 2,
.aobits = 12, .aobits = 12,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment