linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Henrik Rydberg <rydberg@euromail.se>
To: Benjamin Tissoires <benjamin.tissoires@enac.fr>
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>,
	Jiri Kosina <jkosina@suse.cz>, Stephane Chatty <chatty@enac.fr>,
	linux-input@vger.kernel.org
Subject: Re: [PATCH 2/2] hid-mosart: support suspend/resume
Date: Mon, 13 Dec 2010 19:56:59 +0100	[thread overview]
Message-ID: <4D066C7B.8060109@euromail.se> (raw)
In-Reply-To: <1292252353-3029-3-git-send-email-benjamin.tissoires@enac.fr>

On 12/13/2010 03:59 PM, Benjamin Tissoires wrote:

> The device has 2 modes. The first one is an emulation of a touchscreen
> by sending left and right button, and the second mode is the one used in
> dual-touch (sending trackingID, touch and else).
> 
> In case of a suspend/resume, the device switch back to the first mode
> described above (with left and right buttons).
> This adds a hook in .reset_resume for the device to be switched to
> the correct mode (I just copied the code in mosart_probe).


Defining a static function for the mode switch would be nice.

Thanks,
Henrik

  parent reply	other threads:[~2010-12-13 18:57 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-13 14:59 [PATCH 0/2] hid-mosart: small patches Benjamin Tissoires
2010-12-13 14:59 ` [PATCH 1/2] hid-mosart: ignore buttons report Benjamin Tissoires
2010-12-13 17:51   ` Chase Douglas
2010-12-13 18:55   ` Henrik Rydberg
2010-12-13 14:59 ` [PATCH 2/2] hid-mosart: support suspend/resume Benjamin Tissoires
2010-12-13 17:52   ` Chase Douglas
2010-12-13 18:56   ` Henrik Rydberg [this message]
2010-12-13 18:52 ` [PATCH 0/2] hid-mosart: small patches Henrik Rydberg
2010-12-14 10:41   ` Jiri Kosina
2010-12-14 21:29     ` Chase Douglas

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=4D066C7B.8060109@euromail.se \
    --to=rydberg@euromail.se \
    --cc=benjamin.tissoires@enac.fr \
    --cc=chatty@enac.fr \
    --cc=dmitry.torokhov@gmail.com \
    --cc=jkosina@suse.cz \
    --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).