linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Yanmin Zhang <yanmin_zhang@linux.intel.com>
To: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: linux-input@vger.kernel.org
Subject: Re: [PATCH] input: add a input_dev_reset callback
Date: Wed, 29 Jun 2011 15:48:54 +0800	[thread overview]
Message-ID: <1309333734.2601.11.camel@ymzhang> (raw)
In-Reply-To: <20110629070927.GA10299@core.coreip.homeip.net>

On Wed, 2011-06-29 at 00:09 -0700, Dmitry Torokhov wrote:
> Hi Yanmin,
> 
> On Wed, Jun 29, 2011 at 01:25:22PM +0800, Yanmin Zhang wrote:
> > From: Yanmin Zhang <yanmin_zhang@linux.intel.com>
> > Date: Tue, 28 Jun 2011 10:48:03 +0800
> > Subject: [PATCH] input: add a input_dev_reset callback
> > 
> > input_polled_dev starts a worker if it's opened. During
> > suspend-2-ram, kernel need cancel the worker and restart it
> > after resuming.
> 
> I do not believe that there is an issue. Polled device implementation
> uses freezable workqueue to ensure that work is not being executed
> during system sleep transition. The work should restart automatically
> when workqueue it thawed.
Nice! I forgot it. I hit it with kernel 2.6.35 and ported my patch to
the latest kernel.

Thanks,
Yanmin



      reply	other threads:[~2011-06-29  7:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-29  5:25 [PATCH] input: add a input_dev_reset callback Yanmin Zhang
2011-06-29  7:09 ` Dmitry Torokhov
2011-06-29  7:48   ` Yanmin Zhang [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=1309333734.2601.11.camel@ymzhang \
    --to=yanmin_zhang@linux.intel.com \
    --cc=dmitry.torokhov@gmail.com \
    --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).