From: Takashi Iwai <tiwai@suse.de>
To: Matthew Anderson <ruinairas1992@gmail.com>
Cc: tiwai@suse.com, perex@perex.cz, alsa-devel@alsa-project.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2/2] ALSA: hda/realtek: Add headphone quirk for Aya Neo 2
Date: Wed, 02 Aug 2023 17:54:28 +0200 [thread overview]
Message-ID: <87il9xcudn.wl-tiwai@suse.de> (raw)
In-Reply-To: <20230802153730.39273-3-ruinairas1992@gmail.com>
On Wed, 02 Aug 2023 17:37:30 +0200,
Matthew Anderson wrote:
>
> This fixes the headphones on the Aya Neo 2 handheld.
> Signed-off-by: Matthew Anderson <ruinairas1992@gmail.com>
> ---
> sound/pci/hda/patch_realtek.c | 6 ++++++
> 1 file changed, 6 insertions(+)
>
> diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
> index 33f9beec8179..5d31cbe5d40b 100644
> --- a/sound/pci/hda/patch_realtek.c
> +++ b/sound/pci/hda/patch_realtek.c
> @@ -7030,6 +7030,7 @@ enum {
> ALC269_FIXUP_DELL3_MIC_NO_PRESENCE,
> ALC269_FIXUP_DELL4_MIC_NO_PRESENCE,
> ALC269_FIXUP_DELL4_MIC_NO_PRESENCE_QUIET,
> + ALC269_FIXUP_HEADSET_AYA_2,
> ALC269_FIXUP_HEADSET_AYA_GEEK,
> ALC269_FIXUP_HEADSET_MODE,
> ALC269_FIXUP_HEADSET_MODE_NO_HP_MIC,
> @@ -8455,6 +8456,10 @@ static const struct hda_fixup alc269_fixups[] = {
> .chained = true,
> .chain_id = ALC256_FIXUP_ASUS_HEADSET_MODE
> },
> + [ALC269_FIXUP_HEADSET_AYA_2] = {
> + .type = HDA_FIXUP_FUNC,
> + .v.func = alc269_fixup_headphone_volume,
> + },
> [ALC269_FIXUP_HEADSET_AYA_GEEK] = {
> .type = HDA_FIXUP_FUNC,
> .v.func = alc269_fixup_headphone_volume,
> @@ -9953,6 +9958,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
> SND_PCI_QUIRK(0x1d72, 0x1901, "RedmiBook 14", ALC256_FIXUP_ASUS_HEADSET_MIC),
> SND_PCI_QUIRK(0x1d72, 0x1945, "Redmi G", ALC256_FIXUP_ASUS_HEADSET_MIC),
> SND_PCI_QUIRK(0x1d72, 0x1947, "RedmiBook Air", ALC255_FIXUP_XIAOMI_HEADSET_MIC),
> + SND_PCI_QUIRK(0x1f66, 0x0101, "AYANEO 2", ALC269_FIXUP_HEADSET_AYA_2),
> SND_PCI_QUIRK(0x1f66, 0x0101, "GEEK", ALC269_FIXUP_HEADSET_AYA_GEEK),
> SND_PCI_QUIRK(0x8086, 0x2074, "Intel NUC 8", ALC233_FIXUP_INTEL_NUC8_DMIC),
> SND_PCI_QUIRK(0x8086, 0x2080, "Intel NUC 8 Rugged", ALC256_FIXUP_INTEL_NUC8_RUGGED),
Hmm, both devices have the very same SSID (1f66:0101)? Then it's
superfluous.
And, if you have two devices that require the same quirk but with
different SSIDs, both can use the same ALC269_FIXUP_HEADSET_AYA_GEEK,
instead of defining two.
thanks,
Takashi
prev parent reply other threads:[~2023-08-02 15:55 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-02 15:37 [PATCH 0/2] ALSA: hda/realtek: Add headphone quirks for Aya devices Matthew Anderson
2023-08-02 15:37 ` [PATCH 1/2] ALSA: hda/realtek: Add headphone quirk for Aya Neo Geek Matthew Anderson
2023-08-02 15:55 ` Takashi Iwai
2023-08-02 15:37 ` [PATCH 2/2] ALSA: hda/realtek: Add headphone quirk for Aya Neo 2 Matthew Anderson
2023-08-02 15:54 ` Takashi Iwai [this message]
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=87il9xcudn.wl-tiwai@suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@alsa-project.org \
--cc=linux-kernel@vger.kernel.org \
--cc=perex@perex.cz \
--cc=ruinairas1992@gmail.com \
--cc=tiwai@suse.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox