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

input: gpio_kbd_matrix: do not enable interrupt if there's no callbacks



Change the gpio_kbd_matrix_set_detect_mode to skip setting gpio
interrupts if we don't have callbacks configured. This is the case if
the driver is running in poll or scan mode.

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