]> Git Repo - linux.git/commitdiff
process reading battery status hangs
authorVladimir Lebedev <[email protected]>
Sun, 22 Apr 2007 02:41:48 +0000 (22:41 -0400)
committerLen Brown <[email protected]>
Sun, 22 Apr 2007 02:41:48 +0000 (22:41 -0400)
http://bugzilla.kernel.org/show_bug.cgi?id=8351

Signed-off-by: Vladimir Lebedev <[email protected]>
Signed-off-by: Len Brown <[email protected]>
drivers/acpi/battery.c

index fc9c50ab521978627d33e583898761e786561b43..b5df318978ed38056da5c5784bb5a017b8e35571 100644 (file)
@@ -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;
This page took 0.055583 seconds and 4 git commands to generate.