linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
To: Jason Gerecke <killertofu@gmail.com>
Cc: Linux Input <linux-input@vger.kernel.org>,
	Ping Cheng <pinglinux@gmail.com>
Subject: Re: [PATCH 1/2] input: wacom: Support up to 2048 pressure levels with ISDv4
Date: Mon, 28 Jul 2014 11:00:40 -0700	[thread overview]
Message-ID: <20140728180040.GA29714@core.coreip.homeip.net> (raw)
In-Reply-To: <CANRwn3TSsZMvGU1Oj1iu2a24JKxXfa2fsk8236fj7ek7TgEWeg@mail.gmail.com>

On Fri, Jul 18, 2014 at 04:12:21PM -0700, Jason Gerecke wrote:
> On Mon, Jun 30, 2014 at 2:46 PM, Jason Gerecke <killertofu@gmail.com> wrote:
> > Signed-off-by: Jason Gerecke <killertofu@gmail.com>
> > ---
> >  drivers/input/tablet/wacom_wac.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/drivers/input/tablet/wacom_wac.c b/drivers/input/tablet/wacom_wac.c
> > index 977d05c..61a45a5 100644
> > --- a/drivers/input/tablet/wacom_wac.c
> > +++ b/drivers/input/tablet/wacom_wac.c
> > @@ -1093,7 +1093,7 @@ static int wacom_tpc_pen(struct wacom_wac *wacom)
> >                 input_report_key(input, BTN_STYLUS2, data[1] & 0x10);
> >                 input_report_abs(input, ABS_X, le16_to_cpup((__le16 *)&data[2]));
> >                 input_report_abs(input, ABS_Y, le16_to_cpup((__le16 *)&data[4]));
> > -               input_report_abs(input, ABS_PRESSURE, ((data[7] & 0x03) << 8) | data[6]);
> > +               input_report_abs(input, ABS_PRESSURE, ((data[7] & 0x07) << 8) | data[6]);
> >                 input_report_key(input, BTN_TOUCH, data[1] & 0x05);
> >                 input_report_key(input, wacom->tool[0], prox);
> >                 return 1;
> > --
> > 2.0.0
> >
> 
> Just making sure these two patches don't get lost in all the work
> Benjamin's doing. They're going to conflict, so depending on the
> timeline for merging his patches, we can either push these up now(ish)
> or I'll rebase afterwards.

Benjamin added the first one to his series and I adjusted the 2nd one to
apply on top of his and applied.

Thanks.

-- 
Dmitry

      reply	other threads:[~2014-07-28 18:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-30 21:46 [PATCH 1/2] input: wacom: Support up to 2048 pressure levels with ISDv4 Jason Gerecke
2014-06-30 21:46 ` [PATCH 2/2] input: wacom: Add support for 0x12C ISDv4 sensor Jason Gerecke
2014-07-18 23:12 ` [PATCH 1/2] input: wacom: Support up to 2048 pressure levels with ISDv4 Jason Gerecke
2014-07-28 18:00   ` 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=20140728180040.GA29714@core.coreip.homeip.net \
    --to=dmitry.torokhov@gmail.com \
    --cc=killertofu@gmail.com \
    --cc=linux-input@vger.kernel.org \
    --cc=pinglinux@gmail.com \
    /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).