diff mbox series

ASoC: amd: yc: Add quirk for HP Dragonfly pro one

Message ID 229243264.8919425.1726551100908@mail.yahoo.com (mailing list archive)
State Superseded
Headers show
Series ASoC: amd: yc: Add quirk for HP Dragonfly pro one | expand

Commit Message

David Lawrence Glanzman Sept. 17, 2024, 5:31 a.m. UTC
Adds a quirk entry to enable the mic on HP Dragonfly pro one laptop

Signed-off-by: David Lawrence Glanzman <davidglanzman@yahoo.com>
---
 sound/soc/amd/yc/acp6x-mach.c | 7 +++++++
 1 file changed, 7 insertions(+)

--
2.43.0

Comments

Mark Brown Sept. 17, 2024, 9:02 a.m. UTC | #1
On Tue, Sep 17, 2024 at 05:31:40AM +0000, David Glanzman wrote:
> 
> Adds a quirk entry to enable the mic on HP Dragonfly pro one laptop

This doesn't apply, it looks like you've had spaces converted into tabs.
Consider using git send-email or b4 

   https://b4.docs.kernel.org/en/latest/

to send the patch
David Lawrence Glanzman Sept. 17, 2024, 3:10 p.m. UTC | #2
On Tue, 2024-09-17 at 11:02 +0200, Mark Brown wrote:
> On Tue, Sep 17, 2024 at 05:31:40AM +0000, David Glanzman wrote:
> > 
> > Adds a quirk entry to enable the mic on HP Dragonfly pro one laptop
> 
> This doesn't apply, it looks like you've had spaces converted into
> tabs.
> 

My apologies, I'll make a second attempt. I think my email client
converted tabs to spaces; assuming it needs to be tabs based on what I
cloned from git.kernel.org. Let me know if that's not right.
diff mbox series

Patch

diff --git a/sound/soc/amd/yc/acp6x-mach.c b/sound/soc/amd/yc/acp6x-mach.c
index 06349bf0b658..ace6328e91e3 100644
--- a/sound/soc/amd/yc/acp6x-mach.c
+++ b/sound/soc/amd/yc/acp6x-mach.c
@@ -444,6 +444,13 @@  static const struct dmi_system_id yc_acp_quirk_table[] = {
                        DMI_MATCH(DMI_BOARD_NAME, "8A3E"),
                }
        },
+       {
+               .driver_data = &acp6x_card,
+               .matches = {
+                       DMI_MATCH(DMI_BOARD_VENDOR, "HP"),
+                       DMI_MATCH(DMI_BOARD_NAME, "8A7F"),
+               }
+       },
        {
                .driver_data = &acp6x_card,
                .matches = {