Skip to content

Commit d0d10ea

Browse files
MingcongBaiij-intel
authored andcommitted
platform/x86: thinkpad_acpi: Add battery quirk for ThinkPad X131e
Based on the dmesg messages from the original reporter: [ 4.964073] ACPI: \_SB_.PCI0.LPCB.EC__.HKEY: BCTG evaluated but flagged as error [ 4.964083] thinkpad_acpi: Error probing battery 2 Lenovo ThinkPad X131e also needs this battery quirk. Reported-by: Fan Yang <804284660@qq.com> Tested-by: Fan Yang <804284660@qq.com> Co-developed-by: Xi Ruoyao <xry111@xry111.site> Signed-off-by: Xi Ruoyao <xry111@xry111.site> Signed-off-by: Mingcong Bai <jeffbai@aosc.io> Cc: stable@vger.kernel.org Link: https://lore.kernel.org/r/20250221164825.77315-1-jeffbai@aosc.io Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
1 parent 2738d06 commit d0d10ea

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/platform/x86/thinkpad_acpi.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9972,6 +9972,7 @@ static const struct tpacpi_quirk battery_quirk_table[] __initconst = {
99729972
* Individual addressing is broken on models that expose the
99739973
* primary battery as BAT1.
99749974
*/
9975+
TPACPI_Q_LNV('G', '8', true), /* ThinkPad X131e */
99759976
TPACPI_Q_LNV('8', 'F', true), /* Thinkpad X120e */
99769977
TPACPI_Q_LNV('J', '7', true), /* B5400 */
99779978
TPACPI_Q_LNV('J', 'I', true), /* Thinkpad 11e */

0 commit comments

Comments
 (0)