diff options
author | Markus Burri <markus.burri@mt.com> | 2025-02-26 16:28:43 +0100 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2025-04-09 14:21:46 -0700 |
commit | 353bdd7d1456ff601794d2e196ffcb097f131214 (patch) | |
tree | c08179b6fb65ed0e86a766fcdcb6c615c265ac3e /scripts/lib/kdoc/kdoc_files.py | |
parent | a37af8e8c1dc25e097ae1bce98980ad75d5921bc (diff) |
Input: matrix_keypad - detect change during scan
For a setup where the matrix keypad is connected over a slow interface
(e.g. a gpio-expansion over i2c), the scan can take a longer time to read.
Interrupts need to be disabled during scan. And therefore changes in this
period are not detected.
To improve this situation, scan the matrix again if the row state changed
during interrupts disabled.
The rescan is repeated until no change is detected anymore.
Signed-off-by: Markus Burri <markus.burri@mt.com>
Link: https://lore.kernel.org/r/20250226152843.43932-4-markus.burri@mt.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions