commit | 2a994326959f6903578a6212d56c5d7ade88050c | [log] [tgz] |
---|---|---|
author | Fabio Baltieri <fabiobaltieri@google.com> | Thu Jan 04 11:42:58 2024 +0000 |
committer | Fabio Baltieri <fabio.baltieri@gmail.com> | Thu Jan 04 18:40:10 2024 +0000 |
tree | b4ecbaecb78a375fe490e2b47f95cf3bb0f032f5 | |
parent | 603c3af895b0f03d792252412a2255d97791df09 [diff] |
input: kbd_matrix: fail gracefully if changing an undefined key mask Add a check to input_kbd_matrix_actual_key_mask_set() to return an error if trying to change a key mask but the device does not define a keymask in the first place. Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>