Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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,