Skip to content
Commit eff584bf authored by Fabio Baltieri's avatar Fabio Baltieri Committed by Anas Nashif
Browse files

input: kbd_matrix: add power management support



Add power management support to the keyboard matrix library. This
provides a generic pm_action function that changes the keyboard matrix
scan in two places when suspended:
- reset the state to 0 for all columns
- do not enable key press detection

This ensures that any key that was pressed when the device is suspended
is released, and no other scan happens until the device is resumed.

Signed-off-by: default avatarFabio Baltieri <fabiobaltieri@google.com>
parent ee7bbf55
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment