Input: sysrq - supplement reset sequence with timeout functionality
authorMathieu J. Poirier <mathieu.poirier@linaro.org>
Tue, 2 Apr 2013 05:14:19 +0000 (22:14 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 2 Apr 2013 05:22:19 +0000 (22:22 -0700)
Some devices have too few buttons, which it makes it hard to have
a reset combo that won't trigger automatically.  As such a
timeout functionality that requires the combination to be held for
a given amount of time before triggering is introduced.

If a key combo is recognized and held for a 'timeout' amount of time,
the system triggers a reset.  If the timeout value is omitted the
driver simply ignores the functionality.

Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

No differences found