diff options
| author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2026-01-20 10:14:45 -0800 |
|---|---|---|
| committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2026-01-21 14:41:10 -0800 |
| commit | 8a8e63fedbe433b888143fcb7ff55b7a87fa3163 (patch) | |
| tree | ca78d180e1638fbb3d468f49f7a2eb66fc9e4703 /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git | |
| parent | 3d9586f1f90c9101b1abf5b0e9d70ca45f5f16db (diff) | |
Input: appletouch - fix potential race between resume and open
Take the input device's mutex in atp_resume() and atp_recover() to make
sure they are not racing with open and close methods, and use
input_device_enabled() helper to see if communication with the device
needs to be restarted after resume.
Link: https://patch.msgid.link/uuwucixxc2ckd6ul6yv5mdvkc3twytg4tg5a5vhfqg6m2qcodc@klaco6axglbm
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
