All of lore.kernel.org
 help / color / mirror / Atom feed
From: Swapnil Devesh <me@sidevesh.com>
To: "Platform driver x86" <platform-driver-x86@vger.kernel.org>
Cc: "soyer" <soyer@irl.hu>
Subject: [PATCH 1/1 V3] platform/x86: lenovo-ymc: Add Lenovo Yoga 7 14ACN6 to ec_trigger_quirk_dmi_table
Date: Fri, 18 Aug 2023 18:09:47 +0530	[thread overview]
Message-ID: <18a08a8b173.895ef3b250414.1213194126082324071@sidevesh.com> (raw)
In-Reply-To: 

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.

V3: Updated the subject to mention the driver being updated
V2:  Sent again from the mail that is signing off on this and the previous push had the tabs removed messing up the formatting of the patch.

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

Signed-off-by: Swapnil Devesh <me@sidevesh.com>
---
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"),
+        },
+    },
    { }
};

             reply	other threads:[~2023-08-18 12:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-18 12:39 Swapnil Devesh [this message]
2023-08-21 11:12 ` [PATCH 1/1 V3] platform/x86: lenovo-ymc: Add Lenovo Yoga 7 14ACN6 to ec_trigger_quirk_dmi_table Hans de Goede

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=18a08a8b173.895ef3b250414.1213194126082324071@sidevesh.com \
    --to=me@sidevesh.com \
    --cc=platform-driver-x86@vger.kernel.org \
    --cc=soyer@irl.hu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.