Messages in this thread | | | Date | Mon, 4 Jun 2018 12:19:56 -0700 | From | Benson Leung <> | Subject | Re: [PATCH] ACPI LID: increment wakeup count only when notified. |
| |
On Mon, Jun 04, 2018 at 11:26:12AM -0700, Ravi Chandra Sadineni wrote: > Currently ACPI LID increments wakeup count irrespective of the wake source. > This is because we call acpi_lid_initialize_state on every resume. > Userland deamons using wakeup_count to identify the potential wake > source for the last wake will be thrown off by this. Instead increment > the wakeup count only when there is a FIXED_HARDWARE/NOTFIY_STATUS event. > > Signed-off-by: Ravi Chandra Sadineni <ravisadineni@chromium.org>
Reviewed-by: Benson Leung <bleung@chromium.org>
-- Benson Leung Staff Software Engineer Chrome OS Kernel Google Inc. bleung@google.com Chromium OS Project bleung@chromium.org [unhandled content-type:application/pgp-signature] | |