diff options
| author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2026-01-20 21:14:45 +0300 |
|---|---|---|
| committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2026-01-22 01:41:10 +0300 |
| commit | 8a8e63fedbe433b888143fcb7ff55b7a87fa3163 (patch) | |
| tree | ca78d180e1638fbb3d468f49f7a2eb66fc9e4703 /scripts/subarch.include | |
| parent | 3d9586f1f90c9101b1abf5b0e9d70ca45f5f16db (diff) | |
| download | linux-8a8e63fedbe433b888143fcb7ff55b7a87fa3163.tar.xz | |
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 'scripts/subarch.include')
0 files changed, 0 insertions, 0 deletions
