input: Add keyreset driver.
authorArve Hjønnevåg <arve@android.com>
Sat, 22 Nov 2008 05:47:23 +0000 (21:47 -0800)
committerColin Cross <ccross@android.com>
Tue, 14 Jun 2011 16:08:48 +0000 (09:08 -0700)
commitc1678677a5aa41acf015a8a9aa7e0d70fd9caaad
tree4eebca85d5de3f4237a10b25782c17fb2eb98b4c
parent9be7b631ab5fc185fe694301dddfb8dc5f2f8546
input: Add keyreset driver.

Add a platform device in the board file to specify a reset key-combo.
The first time the key-combo is detected a work function that syncs
the filesystems is scheduled. If all the keys are released and then
pressed again, it calls panic. Reboot on panic should be set for
this to work.

Change-Id: I9d54283ca1fba45e4b1ae1a407524cdda8171143
Signed-off-by: Arve Hjønnevåg <arve@android.com>
drivers/input/Kconfig
drivers/input/Makefile
drivers/input/keyreset.c [new file with mode: 0644]
include/linux/keyreset.h [new file with mode: 0644]