diff options
author | Hans de Goede <hdegoede@redhat.com> | 2020-11-09 11:35:50 +0100 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2020-11-09 14:36:50 +0100 |
commit | 3cd420b2ebd8400f09484e3d07ea347a43bb3f7b (patch) | |
tree | 05d4b6540629aede45dddb3ef6afcb6f5349acb9 /drivers/platform/x86/Makefile | |
parent | platform/x86: thinkpad_acpi: Do not report SW_TABLET_MODE on Yoga 11e (diff) | |
download | linux-3cd420b2ebd8400f09484e3d07ea347a43bb3f7b.tar.xz linux-3cd420b2ebd8400f09484e3d07ea347a43bb3f7b.zip |
platform/x86: thinkpad_acpi: Add BAT1 is primary battery quirk for Thinkpad Yoga 11e 4th gen
The Thinkpad Yoga 11e 4th gen with the N3450 / Celeron CPU only has
one battery which is named BAT1 instead of the expected BAT0, add a
quirk for this. This fixes not being able to set the charging tresholds
on this model; and this alsoe fixes the following errors in dmesg:
ACPI: \_SB_.PCI0.LPCB.EC__.HKEY: BCTG evaluated but flagged as error
thinkpad_acpi: Error probing battery 2
battery: extension failed to load: ThinkPad Battery Extension
battery: extension unregistered: ThinkPad Battery Extension
Note that the added quirk is for the "R0K" BIOS versions which are
used on the Thinkpad Yoga 11e 4th gen's with a Celeron CPU, there
is a separate "R0L" BIOS for the i3/i5 based versions. This may also
need the same quirk, but if that really is necessary is unknown.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20201109103550.16265-1-hdegoede@redhat.com
Diffstat (limited to 'drivers/platform/x86/Makefile')
0 files changed, 0 insertions, 0 deletions