]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blob
8ea74f5b5a135bce9c3620f4927a734099d5f05c
[thirdparty/kernel/stable-queue.git] /
1 From ebe8622342f12bed387f7de4b5fb7c52005ccb29 Mon Sep 17 00:00:00 2001
2 From: Martin Homuth-Rosemann <homuth-rosemann@gmx.net>
3 Date: Mon, 31 May 2010 22:33:04 +0200
4 Subject: Staging: comedi - correct parameter gainlkup for DAQCard-6024E in driver ni_mio_cs.c
5
6 From: Martin Homuth-Rosemann <homuth-rosemann@gmx.net>
7
8 commit ebe8622342f12bed387f7de4b5fb7c52005ccb29 upstream.
9
10 Correct at least one of the incorrect specs for a national instrument
11 data acquisition card DAQCard-6024E. This card has only four different
12 gain settings (+-10V, +-5V, +-0.5V, +-0.05V).
13
14 Signed-off-by: Martin Homuth-Rosemann <homuth-rosemann@gmx.net>
15 Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
16
17 ---
18 drivers/staging/comedi/drivers/ni_mio_cs.c | 2 +-
19 1 file changed, 1 insertion(+), 1 deletion(-)
20
21 --- a/drivers/staging/comedi/drivers/ni_mio_cs.c
22 +++ b/drivers/staging/comedi/drivers/ni_mio_cs.c
23 @@ -123,7 +123,7 @@ static const struct ni_board_struct ni_b
24 .adbits = 12,
25 .ai_fifo_depth = 1024,
26 .alwaysdither = 0,
27 - .gainlkup = ai_gain_16,
28 + .gainlkup = ai_gain_4,
29 .ai_speed = 5000,
30 .n_aochan = 2,
31 .aobits = 12,