ANDROID: input: keyreset: Made keyreset more robust
authorDaniel Rosenberg <drosen@google.com>
Fri, 27 Jun 2014 23:39:35 +0000 (16:39 -0700)
committerAmit Pundir <amit.pundir@linaro.org>
Mon, 18 Dec 2017 15:41:22 +0000 (21:11 +0530)
commit514c1205c9266ac181c6d9b6c1d4aea9f09e92ea
treef1f1ed675905264557ea2d0dc3f96802298a55ec
parente82706f0103c1229440c81b61a6b0a58ca2b2e5b
ANDROID: input: keyreset: 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