DragonFly BSD
DragonFly commits List (threaded) for 2011-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: acpi: Enable GPE for button and lid, if they have _PRW object


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 16 Apr 2011 22:12:00 -0700 (PDT)

commit 7a7d9bbd427dc2419972a0001a56101aefc68437
Author: Sepherosa Ziehau <sephe@dragonflybsd.org>
Date:   Sun Apr 17 13:00:17 2011 +0800

    acpi: Enable GPE for button and lid, if they have _PRW object
    
    For devices which has _PRW object, AcpiSetupGpeForWake() will be called,
    however, AcpiSetupGpeForWake() will disable GPE, which causes devices
    like button and lid to stop function if they have _PRW object.  So for
    button and lid, we explicitly enable GPE if they have _PRW object.
    
    Reported-by: y0netan1@

Summary of changes:
 sys/dev/acpica5/acpi_button.c |    5 ++++-
 sys/dev/acpica5/acpi_lid.c    |    5 ++++-
 2 files changed, 8 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7a7d9bbd427dc2419972a0001a56101aefc68437


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]