diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-05-25 22:11:28 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-05-25 22:11:28 +0200 |
commit | 0cc4b48149ff6948dd82a039ad55cdbec49107f7 (patch) | |
tree | 0d0e4a091f8bc43c2c2e9d51d1d5f4b1164b9972 /drivers/acpi | |
parent | Merge tag 'acpi-4.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/raf... (diff) | |
parent | ACPI / battery: Correctly serialise with the pending async probe (diff) | |
download | linux-0cc4b48149ff6948dd82a039ad55cdbec49107f7.tar.xz linux-0cc4b48149ff6948dd82a039ad55cdbec49107f7.zip |
Merge branch 'acpi-battery'
* acpi-battery:
ACPI / battery: Correctly serialise with the pending async probe
Diffstat (limited to 'drivers/acpi')
-rw-r--r-- | drivers/acpi/battery.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/battery.c b/drivers/acpi/battery.c index b719ab3090bb..ab234791a0ba 100644 --- a/drivers/acpi/battery.c +++ b/drivers/acpi/battery.c @@ -1316,7 +1316,7 @@ static int __init acpi_battery_init(void) static void __exit acpi_battery_exit(void) { - async_synchronize_cookie(async_cookie); + async_synchronize_cookie(async_cookie + 1); acpi_bus_unregister_driver(&acpi_battery_driver); #ifdef CONFIG_ACPI_PROCFS_POWER acpi_unlock_battery_dir(acpi_battery_dir); |