input: Made keyreset more robust
authorDaniel Rosenberg <drosen@google.com>
Fri, 27 Jun 2014 23:39:35 +0000 (16:39 -0700)
committerJohn Stultz <john.stultz@linaro.org>
Tue, 16 Feb 2016 21:50:58 +0000 (13:50 -0800)
commit068da28761a7d684d9bd68b6b06f2a69266526bf
tree5c1f88c6ed6a4c501598c1f98905223919d2302e
parent3b79b73e8ef5bcf0af7259747e9158001f030e7f
input: Made keyreset more robust

Switched do_restart to run in a seperate workqueue to  handle
cases where kernel_restart hangs.

Change-Id: I1ecd61f8d0859f1a86d37c692351d644b5db9c69
Signed-off-by: Daniel Rosenberg <drosen@google.com>
drivers/input/keyreset.c