summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/video_detect.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rjw@sisk.pl>2011-02-12 01:39:53 +0100
committerRafael J. Wysocki <rjw@sisk.pl>2011-02-12 01:39:53 +0100
commit2a5d24286e8bdafdc272b37ec5bdd9e977b3767c (patch)
tree76f4624ab2df93bea01c174ac9c3c09a65463029 /drivers/acpi/video_detect.c
parent2d55951368faa32ff098398c56780ebb6405a3d9 (diff)
downloadop-kernel-dev-2a5d24286e8bdafdc272b37ec5bdd9e977b3767c.zip
op-kernel-dev-2a5d24286e8bdafdc272b37ec5bdd9e977b3767c.tar.gz
ACPI / Wakeup: Enable button GPEs unconditionally during initialization
Commit 9630bdd (ACPI: Use GPE reference counting to support shared GPEs) introduced a suspend regression where boxes resume immediately after being suspended due to the lid or sleep button wakeup status not being cleared properly. This happens if the GPEs corresponding to those devices are not enabled all the time, which apparently is expected by some BIOSes. To fix this problem, enable button and lid GPEs unconditionally during initialization and keep them enabled all the time, regardless of whether or not the ACPI button driver is used. References: https://bugzilla.kernel.org/show_bug.cgi?id=27372 Reported-and-tested-by: Ferenc Wágner <wferi@niif.hu> Cc: stable@kernel.org Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'drivers/acpi/video_detect.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud