diff options
author | Swapnil Devesh <me@sidevesh.com> | 2023-08-18 15:39:47 +0300 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2023-08-21 14:08:32 +0300 |
commit | db35610a181c18f7a521a2e157f7acdef7ce425f (patch) | |
tree | 8a8db8c4cf9d22fff35a71dd65973315eb4140a0 /drivers/platform | |
parent | 2b6aa6610dc9690f79d305ca938abfb799a4f766 (diff) | |
download | linux-db35610a181c18f7a521a2e157f7acdef7ce425f.tar.xz |
platform/x86: lenovo-ymc: Add Lenovo Yoga 7 14ACN6 to ec_trigger_quirk_dmi_table
This adds my laptop Lenovo Yoga 7 14ACN6, with Product Name: 82N7
(from `dmidecode -t1 | grep "Product Name"`) to
the ec_trigger_quirk_dmi_table, have tested that this is required
for the YMC driver to work correctly on this model.
Signed-off-by: Swapnil Devesh <me@sidevesh.com>
Reviewed-by: Gergő Köteles <soyer@irl.hu>
Link: https://lore.kernel.org/r/18a08a8b173.895ef3b250414.1213194126082324071@sidevesh.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'drivers/platform')
-rw-r--r-- | drivers/platform/x86/lenovo-ymc.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/platform/x86/lenovo-ymc.c b/drivers/platform/x86/lenovo-ymc.c index f360370d5002..e1fbc35504d4 100644 --- a/drivers/platform/x86/lenovo-ymc.c +++ b/drivers/platform/x86/lenovo-ymc.c @@ -36,6 +36,13 @@ static const struct dmi_system_id ec_trigger_quirk_dmi_table[] = { DMI_MATCH(DMI_PRODUCT_NAME, "82QF"), }, }, + { + /* Lenovo Yoga 7 14ACN6 */ + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"), + DMI_MATCH(DMI_PRODUCT_NAME, "82N7"), + }, + }, { } }; |