diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2023-05-11 11:52:45 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2023-05-18 11:40:32 -0700 |
commit | 7d674f9150c361e5b992551b46516d41eede3722 (patch) | |
tree | dbdf506fbd48d139cd86fa687481196d878f4b8c /include/linux/libps2.h | |
parent | 1db0fd245b6016c21097b5ae01aeb447484de951 (diff) |
Input: libps2 - fix aborting PS/2 commands
When aborting PS/2 command the kernel should [re]set all flags before
waking up waiters, otherwise waiting thread may read obsolete values
of flags.
Reported-by: Raul Rangel <rrangel@chromium.org>
Reviewed-by: Raul E Rangel <rrangel@chromium.org>
Link: https://lore.kernel.org/r/20230511185252.386941-6-dmitry.torokhov@gmail.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'include/linux/libps2.h')
0 files changed, 0 insertions, 0 deletions