commit | f69641f7d204864aa26f8bdd9fecab259e535da2 | [log] [tgz] |
---|---|---|
author | Fabio Baltieri <fabiobaltieri@google.com> | Tue Dec 05 16:28:59 2023 +0000 |
committer | Fabio Baltieri <fabio.baltieri@gmail.com> | Fri Dec 08 01:07:15 2023 +0000 |
tree | d2cb215028e3a766d14bfee5cac9440a00091446 | |
parent | 27d519b260b25826689a4e5283af8a7f188d121c [diff] |
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: Fabio Baltieri <fabiobaltieri@google.com>