Re: [PATCH] input: add a input_dev_reset callback

From
Dmitry Torokhov <dmitry.torokhov@gmail.com>
Date
2011-06-29 07:09:35
Reply to
Yanmin Zhang, 2011-06-29
Hi Yanmin,

On Wed, Jun 29, 2011 at 01:25:22PM +0800, Yanmin Zhang wrote:
From: Yanmin Zhang <redacted>
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.

Thanks.

-- 
Dmitry
Thread (3 messages) 3 messages, 2 authors, last reply 2011-06-29
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help