diff options
author | 2023-03-24 21:26:27 +0100 | |
---|---|---|
committer | 2023-03-30 19:01:05 +0200 | |
commit | e5b492c6bb900fcf9722e05f4a10924410e170c1 (patch) | |
tree | 83ef7fc1f47b921d0443a3890adc74fd80ffcc2f /scripts/generate_rust_analyzer.py | |
parent | ACPI: EC: Limit explicit removal of query handlers to custom query handlers (diff) | |
download | linux-rng-e5b492c6bb900fcf9722e05f4a10924410e170c1.tar.xz linux-rng-e5b492c6bb900fcf9722e05f4a10924410e170c1.zip |
ACPI: EC: Fix oops when removing custom query handlers
When removing custom query handlers, the handler might still
be used inside the EC query workqueue, causing a kernel oops
if the module holding the callback function was already unloaded.
Fix this by flushing the EC query workqueue when removing
custom query handlers.
Tested on a Acer Travelmate 4002WLMi
Signed-off-by: Armin Wolf <W_Armin@gmx.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions