linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
To: David Brownell <david-b@pacbell.net>
Cc: linux-input@vger.kernel.org
Subject: Re: [patch 2.6.24-rc6] ads7846:  simplify support of external vREF (and ads7843)
Date: Wed, 16 Jan 2008 14:13:21 -0500	[thread overview]
Message-ID: <20080116141218.ZZRA012@mailhub.coreip.homeip.net> (raw)
In-Reply-To: <20080116171616.085429BE9B@adsl-69-226-248-13.dsl.pltn13.pacbell.net>

On Wed, Jan 16, 2008 at 09:16:16AM -0800, David Brownell wrote:
> > Date: Wed, 16 Jan 2008 10:09:10 -0500
> > From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
> >
> > On Sat, Jan 05, 2008 at 02:10:19PM -0800, David Brownell wrote:
> > > This updates the ads7846 driver to handle external vREF (required
> > > on boards using ads7843 chips) without module parameters, and also
> > > removes a needless variable with its associated bogus gcc warning.
> >
> > Is there any concern about people already using this module parameter
> > in the field?
> 
> Users of ads7846 chips mostly won't need it; they use the internal vREF.
> 
> Users of ads7843 chips tend to not provide it (given the debug messages
> I periodically see!), and accordingly don't get the two general purpose
> ADC channels (via hwmon).  There aren't many ads7843 users yet; mostly
> users of two Atmel devel boards.

OK.

> 
> 
> >    Should it still be present to allow users to override
> > platform default?
> 
> There *is* no platform default ... there'd be a board-specific
> value (e.g. "3.3V" or "2.8V") that makes no sense to ever change,
> since it's hard-wired.  If there's no such value, those two ADC
> channels just won't be available.
> 
> I'd really rather just get rid of it.  The module param is hardly
> used, and doing it that way has always been a hack.  None of the
> other board-specific values use that error-prone mechanism.
> 

OK, fair enough. Queued for 2.6.25.

Thank you Dave.

-- 
Dmitry

      reply	other threads:[~2008-01-16 19:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-05 22:10 [patch 2.6.24-rc6] ads7846: simplify support of external vREF (and ads7843) David Brownell
2008-01-16 15:09 ` Dmitry Torokhov
2008-01-16 17:16   ` David Brownell
2008-01-16 19:13     ` Dmitry Torokhov [this message]

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=20080116141218.ZZRA012@mailhub.coreip.homeip.net \
    --to=dmitry.torokhov@gmail.com \
    --cc=david-b@pacbell.net \
    --cc=linux-input@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).