Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 71f3d070 authored by Dmitry Torokhov's avatar Dmitry Torokhov
Browse files

Input: tc3589x-keypad - remove unnecessary checks



settle_time and debounce_period are u8 and thus can not be greater than
TC3589x_MAX_DEBOUNCE_SETTLE which is 255.

There also no need to mask out nibbles form board->krow and board->kcol
as we validate that they are in correct range.

Reported-by: default avatarWerner <w.landgraf@ru.ru>
Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
parent bcad87bd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment