diff mbox series

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

Message ID ce69045a10eb78066a12f142768257d87761669e.camel@yahoo.com (mailing list archive)
State New, archived
Headers show
Series ASoC: amd: yc: Add quirk for HP Dragonfly pro one | expand

Commit Message

David Lawrence Glanzman Sept. 17, 2024, 3:40 p.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(+)

 		.matches = {

Comments

Mark Brown Sept. 18, 2024, 8:54 a.m. UTC | #1
On Tue, Sep 17, 2024 at 11:40:30AM -0400, David Lawrence Glanzman wrote:
> Adds a quirk entry to enable the mic on HP Dragonfly pro one laptop
> 
> Signed-off-by: David Lawrence Glanzman <davidglanzman@yahoo.com>

This still doesn't apply:

Applying: ASoC: amd: yc: Add quirk for HP Dragonfly pro one
error: git diff header lacks filename information when removing 1 leading pathname component (line 6)
Patch failed at 0001 ASoC: amd: yc: Add quirk for HP Dragonfly pro one
hint: Use 'git am --show-current-patch=diff' to see the failed patch
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".

> 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[] = {

This has been word wrapped, not sure if there's other issues.
David Lawrence Glanzman Sept. 18, 2024, 11:03 p.m. UTC | #2
On Wed, 2024-09-18 at 10:54 +0200, Mark Brown wrote:
> This has been word wrapped, not sure if there's other issues.

I'll try again
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,