diff options
author | Yao Zi <ziyao@disroot.org> | 2025-06-05 20:34:46 +0800 |
---|---|---|
committer | Huacai Chen <chenhuacai@loongson.cn> | 2025-06-07 11:37:15 +0800 |
commit | f78fb2576f22b0ba5297412a9aa7691920666c41 (patch) | |
tree | ee8a47d6a80ed963e9d979b2faa265e9c86ba829 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 53c762b47f726e4079a1f06f684bce2fc0d56fba (diff) |
platform/loongarch: laptop: Unregister generic_sub_drivers on exit
Without correct unregisteration, ACPI notify handlers and the platform
drivers installed by generic_subdriver_init() will become dangling
references after removing the loongson_laptop module, triggering various
kernel faults when a hotkey is sent or at kernel shutdown.
Cc: stable@vger.kernel.org
Fixes: 6246ed09111f ("LoongArch: Add ACPI-based generic laptop driver")
Signed-off-by: Yao Zi <ziyao@disroot.org>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions