diff options
| author | Dmitry Torokhov <[email protected]> | 2024-06-28 15:47:24 -0700 |
|---|---|---|
| committer | Dmitry Torokhov <[email protected]> | 2024-07-03 13:48:53 -0700 |
| commit | e8688b93ce00230614406d189e8286315832469a (patch) | |
| tree | 412c7b71e509de396447332e92dc7bf59b7ef018 /tools/perf/scripts/python/bin | |
| parent | c1a339001191e60f70c4da827569b3bb27500a9a (diff) | |
Input: cypress_ps2 - fix error handling when sending command fails
Stop layering error handling in cypress_ps2_sendbyte() and simply
pass on error code from ps2_sendbyte() and use it in the callers.
This fixes mishandling of error condition in
cypress_ps2_read_cmd_status() which expects errors to be negative.
Reported-by: Igor Artemiev <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions