diff options
author | Dmitry Torokhov <[email protected]> | 2023-05-11 11:52:43 -0700 |
---|---|---|
committer | Dmitry Torokhov <[email protected]> | 2023-05-18 11:40:32 -0700 |
commit | df9fe0e653c28756ab98f58175f8c58baf156ef1 (patch) | |
tree | 4031515b8a10bd3147220855ce153f01e199dbe0 /tools/perf/scripts | |
parent | fc522f3bdf43efa75b54775978b6b6c19d0d997d (diff) |
Input: libps2 - rework handling of command response
It is not entirely correct that libps2 sets PS2_FLAG_CMD1 after
the device acknowledges each byte sent to the device by the host.
Rework the code so that PS2_FLAG_CMD1 and PS2_FLAG_CMD are set only once,
at the beginning of PS/2 command execution.
Reviewed-by: Raul E Rangel <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions