Commit graph android_kernel_sony_sdm845/include/linux/keyreset.h
Message SHA1
ANDROID: input: Changed keyreset to act as a wrapper for keycombo.
keyreset now registers a keycombo driver that acts as the old
keyreset driver acted.

Change-Id: I08f5279e3a33b267571b699697f9f54508868983
Signed-off-by: Daniel Rosenberg <drosen@google.com>

Daniel Rosenberg   authored and   Dmitry Shmidt   commited 2017-01-19 13:31:46 -08:00
6e92697b87
ANDROID: 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>

Arve Hjønnevåg   authored and   Dmitry Shmidt   commited 2017-01-19 13:31:42 -08:00
b172e89d37