+30
−41
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Several ALPS driver init sequences repeat a command three times, then issue PSMOUSE_CMD_GETINFO to read the result. Move this into a helper function to simplify the code. Signed-off-by:Kevin Cernekee <cernekee@gmail.com> Tested-by:
Dave Turvene <dturvene@dahetral.com> Signed-off-by:
Dmitry Torokhov <dmitry.torokhov@gmail.com>