From: Mark Brown <broonie@opensource.wolfsonmicro.com>
To: Wolfram Sang <w.sang@pengutronix.de>
Cc: linux-input@vger.kernel.org, dp@opensource.wolfsonmicro.com
Subject: Re: wm97xx_read_aux_adc() for battery & pen down?
Date: Fri, 24 Jun 2011 17:52:04 +0100 [thread overview]
Message-ID: <20110624165204.GB30047@opensource.wolfsonmicro.com> (raw)
In-Reply-To: <20110624130049.GA9374@pengutronix.de>
On Fri, Jun 24, 2011 at 03:00:49PM +0200, Wolfram Sang wrote:
> battery-status, but I need the following dirty hack for 3.0-rc4 in
> wm97xx_read_aux_adc():
> ...
> - if (!(*sample & WM97XX_PEN_DOWN)) {
> + /* HACK! Disable check for battery channel on Jaytech PID7901 */
> + if ((adcsel != 0x6000) && !(*sample & WM97XX_PEN_DOWN)) {
> wm->pen_probably_down = 0;
> return RC_PENUP;
> }
I don't see this code in that function?
next prev parent reply other threads:[~2011-06-24 16:52 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-24 13:00 wm97xx_read_aux_adc() for battery & pen down? Wolfram Sang
2011-06-24 16:52 ` Mark Brown [this message]
2011-06-24 16:58 ` Wolfram Sang
2011-06-26 11:00 ` Mark Brown
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=20110624165204.GB30047@opensource.wolfsonmicro.com \
--to=broonie@opensource.wolfsonmicro.com \
--cc=dp@opensource.wolfsonmicro.com \
--cc=linux-input@vger.kernel.org \
--cc=w.sang@pengutronix.de \
/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.