Files
OpenCellular/common
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-08-08 20:29:17 -07:00
2013-08-08 20:29:17 -07:00
2013-07-10 11:16:43 -07:00
2013-08-07 12:43:48 -07:00
2013-08-07 12:43:48 -07:00
2013-07-22 15:28:58 -07:00
2013-05-07 09:09:50 -07:00
2013-03-29 15:39:32 -07:00
2013-07-10 11:16:43 -07:00
2012-10-26 09:49:38 -07:00
2012-10-25 14:12:10 -07:00
2013-06-10 01:48:44 -07:00
2012-10-25 17:03:44 -07:00