diff --git a/drivers/acpi/nfit/core.c b/drivers/acpi/nfit/core.c index 4b863bcd22592e3c3988e6254308c02dd8665ba7..77ed2f25514679e1fe0ef5bbcef08a0c4d4a47c7 100644 --- a/drivers/acpi/nfit/core.c +++ b/drivers/acpi/nfit/core.c @@ -3437,8 +3437,8 @@ void acpi_nfit_shutdown(void *data) mutex_lock(&acpi_desc->init_mutex); set_bit(ARS_CANCEL, &acpi_desc->scrub_flags); - cancel_delayed_work_sync(&acpi_desc->dwork); mutex_unlock(&acpi_desc->init_mutex); + cancel_delayed_work_sync(&acpi_desc->dwork); /* * Bounce the nvdimm bus lock to make sure any in-flight