Add Lenovo Yoga 7 14ACN6 (82N7) to ec_trigger_quirk_dmi_table in the new Lenovo YMC driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

Thanks to Gergo, the author of the Lenovo YMC driver for guiding this.

Signed-off-by: Swapnil Devesh <me@xxxxxxxxxxxx>
---
 drivers/platform/x86/lenovo-ymc.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/drivers/platform/x86/lenovo-ymc.c
b/drivers/platform/x86/lenovo-ymc.c
index 41676188b373..7d38151a5b27 100644
--- a/drivers/platform/x86/lenovo-ymc.c
+++ b/drivers/platform/x86/lenovo-ymc.c
@@ -32,6 +32,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"),
+ },
+ },
  { }
 };



[Index of Archives]     [Linux Kernel Development]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux