Re: [PATCH] input: add a input_dev_reset callback

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx>
> > 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


--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux