commit | 7e15dbf985571d3a9304cdfceb9612f9b18e3211 | [log] [tgz] |
---|---|---|
author | Eric Ernst <eric.ernst@linux.intel.com> | Fri Sep 02 16:12:06 2016 -0700 |
committer | Dmitry Shmidt <dimitrysh@google.com> | Fri Jan 27 13:55:28 2017 -0800 |
tree | d4fd13adf9589119d769b8ede3f3ecd2785d6369 | |
parent | b3ea9acfdc84f307faf1288b60dc2f26e63bc247 [diff] |
ANDROID: input: keyreset: switch to orderly_reboot Prior restart function would make a call to sys_sync and then execute a kernel reset. Rather than call the sync directly, thus necessitating this driver to be builtin, call orderly_reboot, which will take care of the file system sync. Note: since CONFIG_INPUT Kconfig is tristate, this driver can be built as module, despite being marked bool. Signed-off-by: Eric Ernst <eric.ernst@linux.intel.com>