]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Input: matrix_keypad - use fsleep for delays after activating columns
authorMarkus Burri <markus.burri@mt.com>
Tue, 25 Feb 2025 18:59:00 +0000 (10:59 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 25 Feb 2025 19:22:00 +0000 (11:22 -0800)
commite71087ebcd0eb02ca7b4b99c468e1f20435f4bcb
treed4d8f7e4791aa00c20dcdce4de93a449aa379da8
parent90a0a63451e42e3638039dde2e511e95a8486880
Input: matrix_keypad - use fsleep for delays after activating columns

The delay is specified in a device property, so the duration can be
arbitrarily large. fsleep() determines the best way of delaying (sleep
vs spin) based on duration.

see Documentation/timers/delay_sleep_functions.rst

Signed-off-by: Markus Burri <markus.burri@mt.com>
Reviewed-by: Manuel Traut <manuel.traut@mt.com>
Link: https://lore.kernel.org/r/20250110054906.354296-2-markus.burri@mt.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/keyboard/matrix_keypad.c