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
6 From: Martin Homuth-Rosemann <homuth-rosemann@gmx.net>
8 commit ebe8622342f12bed387f7de4b5fb7c52005ccb29 upstream.
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).
14 Signed-off-by: Martin Homuth-Rosemann <homuth-rosemann@gmx.net>
15 Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
18 drivers/staging/comedi/drivers/ni_mio_cs.c | 2 +-
19 1 file changed, 1 insertion(+), 1 deletion(-)
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
25 .ai_fifo_depth = 1024,
27 - .gainlkup = ai_gain_16,
28 + .gainlkup = ai_gain_4,