]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ACPI / Battery: Add a _BIX quirk for NEC LZ750/LS
authorLan Tianyu <tianyu.lan@intel.com>
Mon, 6 Jan 2014 14:50:37 +0000 (22:50 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 6 Jan 2014 21:28:57 +0000 (22:28 +0100)
commita90b40385735af0d3031f98e97b439e8944a31b3
treefae266418d9debf7685f09f578989e5ac27e2897
parentd6e0a2dd12f4067a5bcefb8bbd8ddbeff800afbc
ACPI / Battery: Add a _BIX quirk for NEC LZ750/LS

The AML method _BIX of NEC LZ750/LS returns a broken package which
skips the first member "Revision" (ACPI 5.0, Table 10-234).

Add a quirk for this machine to skip member "Revision" during parsing
the package returned by _BIX.

Reference: https://bugzilla.kernel.org/show_bug.cgi?id=67351
Reported-and-tested-by: Francisco Castro <fcr@adinet.com.uy>
Cc: 3.8+ <stable@vger.kernel.org> " 3.8+
Signed-off-by: Lan Tianyu <tianyu.lan@intel.com>
Reviewed-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/battery.c