* ALSA: hda/realtek: Add quirk for ASUS ROG GV302XA
@ 2023-12-14 20:36 Clément Villeret
2023-12-15 7:13 ` Takashi Iwai
0 siblings, 1 reply; 6+ messages in thread
From: Clément Villeret @ 2023-12-14 20:36 UTC (permalink / raw)
To: linux-sound; +Cc: tiwai, perex
Asus ROG Flowx13 (GV302XA) seems require same patch as others asus products
Signed-off-by: Clément Villeret<clement.villeret@gmail.com>
---
sound/pci/hda/patch_realtek.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 0377912e9264..eb9f617b6273 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -9953,6 +9953,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
SND_PCI_QUIRK(0x1043, 0x1483, "ASUS GU603V", ALC285_FIXUP_ASUS_HEADSET_MIC),
SND_PCI_QUIRK(0x1043, 0x1493, "ASUS GV601V", ALC285_FIXUP_ASUS_HEADSET_MIC),
SND_PCI_QUIRK(0x1043, 0x1517, "Asus Zenbook UX31A", ALC269VB_FIXUP_ASUS_ZENBOOK_UX31A),
+ SND_PCI_QUIRK(0x1043, 0x1533, "ASUS GV302XA", ALC287_FIXUP_CS35L41_I2C_2),
SND_PCI_QUIRK(0x1043, 0x1573, "ASUS GZ301V", ALC285_FIXUP_ASUS_HEADSET_MIC),
SND_PCI_QUIRK(0x1043, 0x1662, "ASUS GV301QH", ALC294_FIXUP_ASUS_DUAL_SPK),
SND_PCI_QUIRK(0x1043, 0x1663, "ASUS GU603ZV", ALC285_FIXUP_ASUS_HEADSET_MIC),
--
2.43.0
^ permalink raw reply related [flat|nested] 6+ messages in thread[parent not found: <446e6c6d-f639-4576-804a-e64e3fa4c463@gmail.com>]
* Re: ALSA: hda/realtek: Add quirk for ASUS ROG GV302XA
[not found] <446e6c6d-f639-4576-804a-e64e3fa4c463@gmail.com>
@ 2023-12-14 8:49 ` Takashi Iwai
0 siblings, 0 replies; 6+ messages in thread
From: Takashi Iwai @ 2023-12-14 8:49 UTC (permalink / raw)
To: Clément Villeret; +Cc: linux-sound, tiwai, perex
On Wed, 13 Dec 2023 20:36:09 +0100,
Clément Villeret wrote:
>
>
> Asus ROG Flowx13 (GV302XA) seems require same patch as others asus products
>
> Signed-off-by: Clément Villeret <clement.villeret@gmail.com>
Now better, but...
> diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
>
> index 0377912e9264..eb9f617b6273 100644
>
> --- a/sound/pci/hda/patch_realtek.c
>
> +++ b/sound/pci/hda/patch_realtek.c
>
> @@ -9953,6 +9953,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
>
> SND_PCI_QUIRK(0x1043, 0x1483, "ASUS GU603V", ALC285_FIXUP_ASUS_HEADSET_MIC),
>
> SND_PCI_QUIRK(0x1043, 0x1493, "ASUS GV601V", ALC285_FIXUP_ASUS_HEADSET_MIC),
(snip)
The lines above are weirdly formatted with extra line feeds.
Try the following before resubmission:
- Send the patch to yourself, save the mail content
- Apply the mail content via "git am" command
- If this works, it's a correct patch; then submit to the public ML
Also, note that you'd need to put a blank line before Signed-off-by
line.
thanks,
Takashi
^ permalink raw reply [flat|nested] 6+ messages in thread
* ALSA: hda/realtek: Add quirk for ASUS ROG GV302XA
@ 2023-12-12 7:43 Clément Villeret
2023-12-12 7:46 ` Takashi Iwai
0 siblings, 1 reply; 6+ messages in thread
From: Clément Villeret @ 2023-12-12 7:43 UTC (permalink / raw)
To: linux-sound; +Cc: perex, tiwai
Commit message :
Asus ROG Flowx13 (GV302XA) seems require same patch as others asus product (UM3402YAR, UM3406HA...). This permit to load the correct firmware and don't loose audio after waking up from sleep or hibernate.
---
sound/pci/hda/patch_realtek.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index f9ddacfd920e..acbb88d777a2 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -9954,6 +9954,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
SND_PCI_QUIRK(0x1043, 0x1517, "Asus Zenbook UX31A", ALC269VB_FIXUP_ASUS_ZENBOOK_UX31A),
SND_PCI_QUIRK(0x1043, 0x1573, "ASUS GZ301V", ALC285_FIXUP_ASUS_HEADSET_MIC),
SND_PCI_QUIRK(0x1043, 0x1662, "ASUS GV301QH", ALC294_FIXUP_ASUS_DUAL_SPK),
+ SND_PCI_QUIRK(0x1043, 0x1533, "ASUS GV302XA", ALC287_FIXUP_CS35L41_I2C_2),
SND_PCI_QUIRK(0x1043, 0x1663, "ASUS GU603ZV", ALC285_FIXUP_ASUS_HEADSET_MIC),
SND_PCI_QUIRK(0x1043, 0x1683, "ASUS UM3402YAR", ALC287_FIXUP_CS35L41_I2C_2),
SND_PCI_QUIRK(0x1043, 0x16b2, "ASUS GU603", ALC289_FIXUP_ASUS_GA401),
--
2.43.0
^ permalink raw reply related [flat|nested] 6+ messages in thread* Re: ALSA: hda/realtek: Add quirk for ASUS ROG GV302XA
2023-12-12 7:43 Clément Villeret
@ 2023-12-12 7:46 ` Takashi Iwai
[not found] ` <b93febca-6991-4259-9b38-1fee823d02a0@gmail.com>
0 siblings, 1 reply; 6+ messages in thread
From: Takashi Iwai @ 2023-12-12 7:46 UTC (permalink / raw)
To: Clément Villeret; +Cc: linux-sound, perex, tiwai
On Tue, 12 Dec 2023 08:43:36 +0100,
Clément Villeret wrote:
>
> Commit message :
Please drop a superfluous tag.
> Asus ROG Flowx13 (GV302XA) seems require same patch as others asus product (UM3402YAR, UM3406HA...). This permit to load the correct firmware and don't loose audio after waking up from sleep or hibernate.
Your Signed-off-by tag is mandatory for the patch to be merged to the
upstream. Please take a look at
Documentation/process/submitting-patches.rst for details.
About the code change:
> @@ -9954,6 +9954,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
> SND_PCI_QUIRK(0x1043, 0x1517, "Asus Zenbook UX31A", ALC269VB_FIXUP_ASUS_ZENBOOK_UX31A),
> SND_PCI_QUIRK(0x1043, 0x1573, "ASUS GZ301V", ALC285_FIXUP_ASUS_HEADSET_MIC),
> SND_PCI_QUIRK(0x1043, 0x1662, "ASUS GV301QH", ALC294_FIXUP_ASUS_DUAL_SPK),
> + SND_PCI_QUIRK(0x1043, 0x1533, "ASUS GV302XA", ALC287_FIXUP_CS35L41_I2C_2),
> SND_PCI_QUIRK(0x1043, 0x1663, "ASUS GU603ZV", ALC285_FIXUP_ASUS_HEADSET_MIC),
> SND_PCI_QUIRK(0x1043, 0x1683, "ASUS UM3402YAR", ALC287_FIXUP_CS35L41_I2C_2),
> SND_PCI_QUIRK(0x1043, 0x16b2, "ASUS GU603", ALC289_FIXUP_ASUS_GA401),
The table is sorted in PCI SSID order. Please put at the right
position.
Could you resubmit the patch with the corrections above?
thanks,
Takashi
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2023-12-15 7:13 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-14 20:36 ALSA: hda/realtek: Add quirk for ASUS ROG GV302XA Clément Villeret
2023-12-15 7:13 ` Takashi Iwai
[not found] <446e6c6d-f639-4576-804a-e64e3fa4c463@gmail.com>
2023-12-14 8:49 ` Takashi Iwai
-- strict thread matches above, loose matches on Subject: below --
2023-12-12 7:43 Clément Villeret
2023-12-12 7:46 ` Takashi Iwai
[not found] ` <b93febca-6991-4259-9b38-1fee823d02a0@gmail.com>
2023-12-13 16:41 ` Takashi Iwai
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox