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

看板DFBSD_commit作者時間14年前 (2011/05/17 07:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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
文章代碼(AID): #1DqRGO3x (DFBSD_commit)