Skip to content
Commit 2a994326 authored by Fabio Baltieri's avatar Fabio Baltieri Committed by Fabio Baltieri
Browse files

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: default avatarFabio Baltieri <fabiobaltieri@google.com>
parent 603c3af8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment