diff options
author | Hans de Goede <[email protected]> | 2023-11-20 16:42:33 +0100 |
---|---|---|
committer | Ilpo Järvinen <[email protected]> | 2023-11-23 14:24:13 +0200 |
commit | b52cbca22cbf6c9d2700c1e576d0ddcc670e49d5 (patch) | |
tree | 6f4dedd0ad182554b4986c72bf2724c5c1d1b49b /scripts/rustdoc_test_builder.rs | |
parent | a6584711e64d9d12ab79a450ec3628fd35e4f476 (diff) |
platform/x86: asus-wmi: Move i8042 filter install to shared asus-wmi code
asus-nb-wmi calls i8042_install_filter() in some cases, but it never
calls i8042_remove_filter(). This means that a dangling pointer to
the filter function is left after rmmod leading to crashes.
Fix this by moving the i8042-filter installation to the shared
asus-wmi code and also remove it from the shared code on driver unbind.
Fixes: b5643539b825 ("platform/x86: asus-wmi: Filter buggy scan codes on ASUS Q500A")
Cc: Oleksij Rempel <[email protected]>
Signed-off-by: Hans de Goede <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Ilpo Järvinen <[email protected]>
Signed-off-by: Ilpo Järvinen <[email protected]>
Diffstat (limited to 'scripts/rustdoc_test_builder.rs')
0 files changed, 0 insertions, 0 deletions