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

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Sat Apr 16 22:12:50 PDT 2011


commit 7a7d9bbd427dc2419972a0001a56101aefc68437
Author: Sepherosa Ziehau <sephe at 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





More information about the Commits mailing list