Randall Spangler
ffed16cae4
Fix leaving keyboard scanning disabled on brief power button press
...
If the power button is pressed for a shorter period than the debounce
timeout, then the debounced state never changes. This was causing the
power button state machine to disable scanning (in the interrupt
handler) but never re-enable it (in the deferred handler).
Easy fix; just re-enable based on whether the current state is
released, not whether the debounced state is transitioning to
released.
BUG=chrome-os-partner:21772
BRANCH=all (falco, pit, etc.)
TEST=type on console. briefly flick power button. type more; should work.
Change-Id: I9723a6aa10f122fcee62702b85ce7981b1c8103a
Signed-off-by: Randall Spangler <rspangler@chromium.org >
Reviewed-on: https://gerrit.chromium.org/gerrit/65238
Reviewed-by: Duncan Laurie <dlaurie@chromium.org >
2013-08-09 11:19:01 -07:00
..
2013-07-11 16:51:39 -07:00
2012-08-28 04:39:56 -07:00
2013-07-24 13:07:13 -07:00
2013-07-24 13:07:13 -07:00
2013-07-24 13:07:13 -07:00
2013-07-24 13:07:13 -07:00
2013-06-05 11:25:10 -07:00
2013-08-08 20:29:17 -07:00
2013-08-08 20:29:17 -07:00
2013-08-02 17:32:42 -07:00
2013-07-23 11:14:14 -07:00
2013-07-23 11:14:14 -07:00
2013-07-23 11:14:14 -07:00
2013-07-23 11:14:14 -07:00
2013-07-19 18:01:48 -07:00
2013-08-09 11:18:59 -07:00
2013-08-02 17:32:25 -07:00
2013-07-12 16:49:14 -07:00
2013-07-10 11:16:43 -07:00
2013-04-24 09:58:22 -07:00
2013-08-08 13:51:09 -07:00
2013-08-02 17:32:26 -07:00
2013-07-16 12:06:30 -07:00
2013-07-31 12:33:31 -07:00
2013-04-02 14:12:56 -07:00
2013-04-03 11:49:07 -07:00
2013-08-01 18:15:48 -07:00
2013-07-16 12:06:31 -07:00
2013-07-16 12:06:31 -07:00
2013-08-02 17:32:25 -07:00
2013-06-03 14:32:38 -07:00
2013-08-07 12:43:35 -07:00
2013-08-01 11:07:58 -07:00
2013-08-02 13:05:56 -07:00
2013-07-31 12:33:31 -07:00
2013-03-20 15:23:29 -07:00
2013-07-31 12:33:31 -07:00
2013-08-02 17:32:25 -07:00
2013-04-24 16:32:58 -07:00
2013-07-23 17:37:54 -07:00
2013-03-22 11:24:29 -07:00
2013-08-07 12:43:48 -07:00
2013-07-24 18:08:32 -07:00
2013-07-16 12:06:30 -07:00
2013-07-19 18:01:57 -07:00
2013-08-01 18:15:46 -07:00
2013-08-07 12:43:48 -07:00
2013-07-22 15:28:58 -07:00
2013-05-08 13:24:19 -07:00
2013-04-26 16:07:21 -07:00
2013-05-07 09:09:50 -07:00
2013-05-07 20:59:53 -07:00
2013-07-24 13:07:13 -07:00
2013-03-29 15:39:32 -07:00
2013-07-24 13:07:13 -07:00
2013-07-31 12:33:31 -07:00
2013-07-10 11:16:43 -07:00
2013-08-02 18:22:57 -07:00
2013-08-07 17:24:09 -07:00
2013-07-29 11:07:31 -07:00
2013-07-23 11:14:16 -07:00
2012-10-26 09:49:38 -07:00
2013-08-02 17:32:42 -07:00
2013-08-09 11:19:01 -07:00
2012-10-25 14:12:10 -07:00
2012-07-26 16:25:34 -07:00
2013-06-10 01:48:44 -07:00
2013-07-08 11:30:38 -07:00
2012-10-25 17:03:44 -07:00
2013-05-07 20:59:53 -07:00
2012-06-27 03:22:17 -07:00
2013-07-24 13:07:13 -07:00
2013-07-17 10:49:48 -07:00
2013-07-25 17:25:42 -07:00
2013-08-07 17:24:09 -07:00
2013-07-08 11:30:38 -07:00
2013-08-07 17:24:09 -07:00
2013-08-02 13:05:56 -07:00
2013-05-17 09:52:26 -07:00
2013-08-02 17:32:26 -07:00
2013-05-22 12:29:20 -07:00
2013-05-01 15:36:22 -07:00
2013-07-16 12:06:30 -07:00
2013-05-07 20:59:53 -07:00
2012-12-10 15:14:38 -08:00
2013-07-19 18:01:55 -07:00
2013-07-11 16:51:40 -07:00