diff options
author | Dave Lambley <linux@davel.me.uk> | 2016-11-04 02:05:40 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-11-16 23:09:45 +0100 |
commit | 2d09af4a88d99a8dd0429263451b7b88e6d92738 (patch) | |
tree | abaee425ecd9e7dfc0611c8754c5c6419b943268 /include/asm-generic/mutex-null.h | |
parent | Linux 4.9-rc5 (diff) | |
download | linux-2d09af4a88d99a8dd0429263451b7b88e6d92738.tar.xz linux-2d09af4a88d99a8dd0429263451b7b88e6d92738.zip |
ACPI / battery: If _BIX fails, retry with _BIF
The Lenovo Yoga 300 laptop's firmware advertises that it provides the _BIX
the method to retrieve battery information. Unfortunately (some versions
of?) the implementation return with an error.
[ 21.712228] ACPI Exception: AE_AML_PACKAGE_LIMIT, Index (0x000000010) is beyond end of object (length 0xD) (20160422/exoparg2-427)
[ 21.712244] ACPI Error: Method parse/execution failed [\_SB.PCI0.LPCB.H_EC.BAT1._BIX] (Node ffff95f8ff0b20f0), AE_AML_PACKAGE_LIMIT (20160422/psparse-542)
The _BIF method does succeed and returns convincing data. We detect _BIX
failing and automatically retry with _BIF.
Signed-off-by: Dave Lambley <linux@davel.me.uk>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/asm-generic/mutex-null.h')
0 files changed, 0 insertions, 0 deletions