Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

process reading battery status hangs

http://bugzilla.kernel.org/show_bug.cgi?id=8351

Signed-off-by: Vladimir Lebedev <vladimir.p.lebedev@gmail.com>
Signed-off-by: Len Brown <len.brown@intel.com>

authored by

Vladimir Lebedev and committed by
Len Brown
6eedeef7 9ea7d575

-2
-2
drivers/acpi/battery.c
··· 937 937 case ACPI_BATTERY_NOTIFY_INFO: 938 938 case ACPI_NOTIFY_BUS_CHECK: 939 939 case ACPI_NOTIFY_DEVICE_CHECK: 940 - acpi_battery_mutex_lock(battery); 941 940 device = battery->device; 942 941 acpi_battery_notify_update(battery); 943 - acpi_battery_mutex_unlock(battery); 944 942 acpi_bus_generate_event(device, event, 945 943 acpi_battery_present(battery)); 946 944 break;