summaryrefslogtreecommitdiffstats
path: root/drivers/platform
diff options
context:
space:
mode:
authorOlli Asikainen <olli.asikainen@gmail.com>2023-10-24 21:09:21 +0200
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>2023-10-27 15:10:47 +0200
commit916646758aea81a143ce89103910f715ed923346 (patch)
tree543af6fce5b2e4d2e2c0f99aada9dd1d8e93652b /drivers/platform
parentplatform/x86: wmi: Decouple WMI device removal from wmi_block_list (diff)
downloadlinux-916646758aea81a143ce89103910f715ed923346.tar.xz
linux-916646758aea81a143ce89103910f715ed923346.zip
platform/x86: thinkpad_acpi: Add battery quirk for Thinkpad X120e
Thinkpad X120e also needs this battery quirk. Signed-off-by: Olli Asikainen <olli.asikainen@gmail.com> Link: https://lore.kernel.org/r/20231024190922.2742-1-olli.asikainen@gmail.com Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'drivers/platform')
-rw-r--r--drivers/platform/x86/thinkpad_acpi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/platform/x86/thinkpad_acpi.c b/drivers/platform/x86/thinkpad_acpi.c
index c3499bf60582..fce16b016e88 100644
--- a/drivers/platform/x86/thinkpad_acpi.c
+++ b/drivers/platform/x86/thinkpad_acpi.c
@@ -9814,6 +9814,7 @@ static const struct tpacpi_quirk battery_quirk_table[] __initconst = {
* Individual addressing is broken on models that expose the
* primary battery as BAT1.
*/
+ TPACPI_Q_LNV('8', 'F', true), /* Thinkpad X120e */
TPACPI_Q_LNV('J', '7', true), /* B5400 */
TPACPI_Q_LNV('J', 'I', true), /* Thinkpad 11e */
TPACPI_Q_LNV3('R', '0', 'B', true), /* Thinkpad 11e gen 3 */