input: Add keyreset driver.
authorArve Hjønnevåg <arve@android.com>
Sat, 22 Nov 2008 05:47:23 +0000 (21:47 -0800)
committerArve Hjønnevåg <arve@android.com>
Mon, 8 Feb 2010 23:07:49 +0000 (15:07 -0800)
commitd94329d008a12abab1943304efd6f10f4fdc1f0f
tree5d3dbfe2b7f7becf4cf81f40054c77f1aa300436
parent22c233c3439e9b6bf86b0bb9d952d9d9b676d590
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.

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]