diff options
| author | Haoxiang Li <haoxiang_li2024@163.com> | 2026-06-10 16:41:16 -0700 |
|---|---|---|
| committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2026-06-10 16:42:09 -0700 |
| commit | 6251f7d3472c0409e30f8d6a24f10d33d12e3f9a (patch) | |
| tree | ca97b578ff80f05d950cb6e17160a92e84016035 /scripts/Makefile.thinlto | |
| parent | 856668312685d9a8f32d49a135a89c429d309f81 (diff) | |
Input: synaptics-rmi4 - unregister function handlers on physical driver registration failure
If rmi_register_physical_driver() fails, the current error path
unregisters only the RMI bus. The function handlers registered
earlier remain registered with the driver core.
Add a separate error path to unregister the function handlers
before unregistering the bus in this failure case.
Fixes: 2b6a321da9a2 ("Input: synaptics-rmi4 - add support for Synaptics RMI4 devices")
Signed-off-by: Haoxiang Li <haoxiang_li2024@163.com>
Cc: stable@vger.kernel.org
Link: https://patch.msgid.link/20260610064633.2837084-1-haoxiang_li2024@163.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
