aboutsummaryrefslogtreecommitdiff
path: root/drivers/acpi/tables.c
diff options
context:
space:
mode:
authorArmin Wolf2023-03-24 21:26:27 +0100
committerGreg Kroah-Hartman2023-05-24 17:32:35 +0100
commit86a159fd5bdb01ec34b160cfda1a313b616d9302 (patch)
treee10527825963ef0852d697cb779247ab29fd82f3 /drivers/acpi/tables.c
parenta8267bc8de736cae927165191b52fbc20d101dd1 (diff)
ACPI: EC: Fix oops when removing custom query handlers
[ Upstream commit e5b492c6bb900fcf9722e05f4a10924410e170c1 ] 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> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/acpi/tables.c')
0 files changed, 0 insertions, 0 deletions