diff options
| author | Duoming Zhou <duoming@zju.edu.cn> | 2025-12-17 11:00:18 +0800 |
|---|---|---|
| committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2026-03-12 11:11:04 -0700 |
| commit | 3873f16d4936690ddd7b35231fa5c712a3c63a54 (patch) | |
| tree | 6358604e09455240c46dcdaf45c405f026bbbd5c /tools/lib/python/kdoc/python_version.py | |
| parent | e732b2ac0a18b64369c0def65b6214f6748d0d73 (diff) | |
Input: psmouse - replace flush_workqueue() with disable_delayed_work_sync()
The original code uses flush_workqueue() in psmouse_disconnect() to
ensure the completion of both resync_work and dev3_register_work.
Given that alps_disconnect() already uses disable_delayed_work_sync()
to cancel dev3_register_work, replacing flush_workqueue() with
disable_delayed_work_sync(&psmouse->resync_work) is more robust
and efficient.
Signed-off-by: Duoming Zhou <duoming@zju.edu.cn>
Link: https://patch.msgid.link/6e40a46e5d9e6e3237702958b8f641263c28d2e4.1765939397.git.duoming@zju.edu.cn
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
