[PATCH] Add HP Victus to yc_acp_quirk_table

Raven Black posted 1 patch 3 months, 4 weeks ago
sound/soc/amd/yc/acp6x-mach.c | 7 +++++++
1 file changed, 7 insertions(+)
[PATCH] Add HP Victus to yc_acp_quirk_table
Posted by Raven Black 3 months, 4 weeks ago
Make the internal microphone work on several models of HP Victus laptops.

Signed-off-by: Raven Black <ravenblack@gmail.com>
---
 sound/soc/amd/yc/acp6x-mach.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/sound/soc/amd/yc/acp6x-mach.c b/sound/soc/amd/yc/acp6x-mach.c
index 7e62445e02c1..3451d2f9c9ba 100644
--- a/sound/soc/amd/yc/acp6x-mach.c
+++ b/sound/soc/amd/yc/acp6x-mach.c
@@ -514,6 +514,13 @@ static const struct dmi_system_id yc_acp_quirk_table[] = {
  DMI_MATCH(DMI_PRODUCT_NAME, "OMEN by HP Gaming Laptop 16z-n000"),
  }
  },
+ {
+ .driver_data = &acp6x_card,
+ .matches = {
+ DMI_MATCH(DMI_BOARD_VENDOR, "HP"),
+ DMI_MATCH(DMI_PRODUCT_NAME, "Victus by HP Gaming Laptop 15-fb2xxx"),
+ }
+ },
  {
  .driver_data = &acp6x_card,
  .matches = {
-- 
2.43.0
Re: [PATCH] Add HP Victus to yc_acp_quirk_table
Posted by Mark Brown 3 months, 4 weeks ago
On Thu, Jun 12, 2025 at 10:45:53PM -0400, Raven Black wrote:

>   DMI_MATCH(DMI_PRODUCT_NAME, "OMEN by HP Gaming Laptop 16z-n000"),
>   }
>   },
> + {
> + .driver_data = &acp6x_card,
> + .matches = {
> + DMI_MATCH(DMI_BOARD_VENDOR, "HP"),
> + DMI_MATCH(DMI_PRODUCT_NAME, "Victus by HP Gaming Laptop 15-fb2xxx"),
> + }
> + },
>   {

This is badly mangled and won't apply, it looks like tabs have just been
completely deleted.  You might want to look at b4 to send the patches,
especially it's web submission endpoint which avoids having to configure
mail:

   https://b4.docs.kernel.org/en/latest/contributor/overview.html

Please submit patches using subject lines reflecting the style for the
subsystem, this makes it easier for people to identify relevant patches.
Look at what existing commits in the area you're changing are doing and
make sure your subject lines visually resemble what they're doing.
There's no need to resubmit to fix this alone.