diff options
| author | Minseong Kim <ii4gsp@gmail.com> | 2026-01-21 10:02:02 -0800 |
|---|---|---|
| committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2026-01-21 12:23:43 -0800 |
| commit | 870c2e7cd881d7a10abb91f2b38135622d9f9f65 (patch) | |
| tree | 8904aa1d25af1d0c3aec5109d4e104733f3b3669 /include/linux/i2c/git@git.tavy.me:linux.git | |
| parent | 219be8d98bd758a4d06b2ac2b1fdbb6a8c76cebe (diff) | |
Input: synaptics_i2c - guard polling restart in resume
synaptics_i2c_resume() restarts delayed work unconditionally, even when
the input device is not opened. Guard the polling restart by taking the
input device mutex and checking input_device_enabled() before re-queuing
the delayed work.
Fixes: eef3e4cab72ea ("Input: add driver for Synaptics I2C touchpad")
Signed-off-by: Minseong Kim <ii4gsp@gmail.com>
Cc: stable@vger.kernel.org
Link: https://patch.msgid.link/20260121063738.799967-1-ii4gsp@gmail.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'include/linux/i2c/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
