Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1407866

[PATCH v2 0/3] ACPI / button: Clarify initial lid state

From Lv Zheng <lv.zheng@intel.com>
Newsgroups linux.kernel
Subject [PATCH v2 0/3] ACPI / button: Clarify initial lid state
Date 2016-05-27 09:20 +0200
Message-ID <rDkdP-ox-19@gated-at.bofh.it> (permalink)
References <rzIy6-28V-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


The initial _LID returning value is not reliable after boot/resume because
the BIOS vendors may implement it by returning a cached value that is only
updated when a lid notification is received.
This causes strange things happening after resuming. This patchset fixes
the issue according to this fact.

Lv Zheng (3):
  ACPI / button: Remove initial lid state notification
  ACPI / button: Refactor functions to eliminate redundant code
  ACPI / button: Send "open" state after boot/resume

 drivers/acpi/button.c |   96 ++++++++++++++++++++++++++-----------------------
 1 file changed, 52 insertions(+), 44 deletions(-)

-- 
1.7.10

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[RFC PATCH 1/2] ACPI / button: Send "open" state after boot/resume Lv Zheng <lv.zheng@intel.com> - 2016-05-17 10:30 +0200
  Re: [RFC PATCH 1/2] ACPI / button: Send "open" state after boot/resume "Rafael J. Wysocki" <rafael@kernel.org> - 2016-05-18 01:40 +0200
    RE: [RFC PATCH 1/2] ACPI / button: Send "open" state after  boot/resume "Zheng, Lv" <lv.zheng@intel.com> - 2016-05-18 03:30 +0200
      Re: [RFC PATCH 1/2] ACPI / button: Send "open" state after boot/resume "Rafael J. Wysocki" <rafael@kernel.org> - 2016-05-19 01:00 +0200
        RE: [RFC PATCH 1/2] ACPI / button: Send "open" state after  boot/resume "Zheng, Lv" <lv.zheng@intel.com> - 2016-05-19 04:00 +0200
          Re: [RFC PATCH 1/2] ACPI / button: Send "open" state after boot/resume "Rafael J. Wysocki" <rafael@kernel.org> - 2016-05-19 15:30 +0200
            Re: [RFC PATCH 1/2] ACPI / button: Send "open" state after  boot/resume Benjamin Tissoires <benjamin.tissoires@gmail.com> - 2016-05-26 15:40 +0200
              RE: [RFC PATCH 1/2] ACPI / button: Send "open" state after  boot/resume "Zheng, Lv" <lv.zheng@intel.com> - 2016-05-30 03:50 +0200
  Re: [RFC PATCH 1/2] ACPI / button: Send "open" state after  boot/resume Bastien Nocera <hadess@hadess.net> - 2016-05-18 15:00 +0200
    Re: [RFC PATCH 1/2] ACPI / button: Send "open" state after boot/resume "Rafael J. Wysocki" <rafael@kernel.org> - 2016-05-18 23:50 +0200
    RE: [RFC PATCH 1/2] ACPI / button: Send "open" state after  boot/resume "Zheng, Lv" <lv.zheng@intel.com> - 2016-05-19 04:00 +0200
  [PATCH v2 2/3] ACPI / button: Refactor functions to eliminate redundant code Lv Zheng <lv.zheng@intel.com> - 2016-05-27 09:20 +0200
  [PATCH v2 1/3] ACPI / button: Remove initial lid state notification Lv Zheng <lv.zheng@intel.com> - 2016-05-27 09:20 +0200
  [PATCH v2 3/3] ACPI / button: Send "open" state after boot/resume Lv Zheng <lv.zheng@intel.com> - 2016-05-27 09:20 +0200
    Re: [PATCH v2 3/3] ACPI / button: Send "open" state after boot/resume Benjamin Tissoires <benjamin.tissoires@gmail.com> - 2016-05-30 10:20 +0200
      RE: [PATCH v2 3/3] ACPI / button: Send "open" state after  boot/resume "Zheng, Lv" <lv.zheng@intel.com> - 2016-05-31 05:00 +0200
  [PATCH v2 0/3] ACPI / button: Clarify initial lid state Lv Zheng <lv.zheng@intel.com> - 2016-05-27 09:20 +0200
    Re: [PATCH v2 0/3] ACPI / button: Clarify initial lid state Valdis.Kletnieks@vt.edu - 2016-05-28 00:20 +0200

csiph-web