Skip to content

Commit

Permalink
process reading battery status hangs
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Vladimir Lebedev authored and Len Brown committed Apr 22, 2007
1 parent 9ea7d57 commit 6eedeef
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/acpi/battery.c
Original file line number Diff line number Diff line change
Expand Up @@ -937,10 +937,8 @@ static void acpi_battery_notify(acpi_handle handle, u32 event, void *data)
case ACPI_BATTERY_NOTIFY_INFO:
case ACPI_NOTIFY_BUS_CHECK:
case ACPI_NOTIFY_DEVICE_CHECK:
acpi_battery_mutex_lock(battery);
device = battery->device;
acpi_battery_notify_update(battery);
acpi_battery_mutex_unlock(battery);
acpi_bus_generate_event(device, event,
acpi_battery_present(battery));
break;
Expand Down

0 comments on commit 6eedeef

Please sign in to comment.