]> git.baikalelectronics.ru Git - kernel.git/commit
Input: trackpoint - combine calls to ps2_command()
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 5 Jan 2018 06:52:55 +0000 (22:52 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 3 Feb 2018 00:51:32 +0000 (16:51 -0800)
commitdd9456685c3f1ddc0c0362595accad4fe4e1d90b
tree9db0626561ff108bc4ec3d012d6dbf6c2c3eb40d
parent2e8aa40de4cff12326565c9a8cf51a1d6e559e1f
Input: trackpoint - combine calls to ps2_command()

We do not need to call ps2_command() several times in a row, transmitting
every byte as it were a command byte, we can often pack it all in a single
command.

Also, now that ps2_command() handles retransmission, we do not need to do
it ourselves in trackpoint_power_on_reset().

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/mouse/trackpoint.c