All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martin Homuth-Rosemann <homuth-rosemann@cryptomys.de>
To: Greg Kroah-Hartman <gregkh@suse.de>
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] staging: comedi - correct parameter gainlkup for DAQCard-6024E in driver ni_mio_cs.c
Date: Mon, 31 May 2010 22:33:04 +0200	[thread overview]
Message-ID: <4C041D00.6070708@cryptomys.de> (raw)

From: Martin Homuth-Rosemann <homuth-rosemann@gmx.net>

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: Martin Homuth-Rosemann <homuth-rosemann@gmx.net>
---
--- linux-2.6.33/drivers/staging/comedi/drivers/ni_mio_cs.c.orig    
2010-02-24 19:52:17.000000000 +0100
+++ linux-2.6.33/drivers/staging/comedi/drivers/ni_mio_cs.c    
2010-05-27 12:26:22.000000000 +0200
@@ -121,11 +121,11 @@ static const struct ni_board_struct ni_b
       .name = "DAQCard-6024E",    /* specs incorrect! */
       .n_adchan = 16,
       .adbits = 12,
       .ai_fifo_depth = 1024,
       .alwaysdither = 0,
-     .gainlkup = ai_gain_16,
+     .gainlkup = ai_gain_4,
       .ai_speed = 5000,
       .n_aochan = 2,
       .aobits = 12,
       .ao_fifo_depth = 0,
       .ao_range_table = &range_bipolar10,



                 reply	other threads:[~2010-05-31 20:33 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C041D00.6070708@cryptomys.de \
    --to=homuth-rosemann@cryptomys.de \
    --cc=gregkh@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.