Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=6eedeef73e7fff32eb5fa25178c3c77b1db0ec0f
Commit:     6eedeef73e7fff32eb5fa25178c3c77b1db0ec0f
Parent:     9ea7d57576f40c6af03c8c9fa7a069f2222b498b
Author:     Vladimir Lebedev <[EMAIL PROTECTED]>
AuthorDate: Sat Apr 21 22:41:48 2007 -0400
Committer:  Len Brown <[EMAIL PROTECTED]>
CommitDate: Sat Apr 21 22:41:48 2007 -0400

    process reading battery status hangs
    
    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 |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/drivers/acpi/battery.c b/drivers/acpi/battery.c
index fc9c50a..b5df318 100644
--- a/drivers/acpi/battery.c
+++ b/drivers/acpi/battery.c
@@ -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;
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to