ACPI: EC: Relax sanity check of the ECDT ID string
authorArmin Wolf <W_Armin@gmx.de>
Tue, 29 Jul 2025 06:20:38 +0000 (08:20 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 12 Aug 2025 17:16:27 +0000 (19:16 +0200)
commit963e22c084c2b6097e1e635d29c6336881f67708
tree5e329d0726ffbecf529b65b4d6d10e991b57ced3
parent8f5ae30d69d7543eee0d70083daf4de8fe15d585
ACPI: EC: Relax sanity check of the ECDT ID string

It turns out that the ECDT table inside the ThinkBook 14 G7 IML
contains a valid EC description but an invalid ID string
("_SB.PC00.LPCB.EC0"). Ignoring this ECDT based on the invalid
ID string prevents the kernel from detecting the built-in touchpad,
so relax the sanity check of the ID string and only reject ECDTs
with empty ID strings.

Reported-by: Ilya K <me@0upti.me>
Fixes: 7a0d59f6a913 ("ACPI: EC: Ignore ECDT tables with an invalid ID string")
Signed-off-by: Armin Wolf <W_Armin@gmx.de>
Tested-by: Ilya K <me@0upti.me>
Link: https://patch.msgid.link/20250729062038.303734-1-W_Armin@gmx.de
Cc: 6.16+ <stable@vger.kernel.org> # 6.16+
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/ec.c