Skip to contentSkip to conversation

ALSA: hda: Add device entry for QEMU

PATCH New Takashi Iwai 1 participant 1 message Jul 4, 2025 Sound

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ALSA: hda: Add device entry for QEMU

QEMU HD-audio device (1af4:0021) is handled by the generic HD-audio codec driver, hence it's better to have an explicit device ID listing, so that we can avoid the superfluous vendor driver matching.

---
 sound/pci/hda/hda_generic.c | 1 +
 1 file changed, 1 insertion(+)
sound/pci/hda/hda_generic.c +1 -0
index b34d84fedcc8..2a28c8b6ba55 100644
@@ -6144,6 +6144,7 @@ static int snd_hda_parse_generic_codec(struct hda_codec *codec)
 }
 
 static const struct hda_device_id snd_hda_id_generic[] = {
+	HDA_CODEC_ENTRY(0x1af40021, "Generic", snd_hda_parse_generic_codec), /* QEMU */
 	HDA_CODEC_ENTRY(HDA_CODEC_ID_GENERIC, "Generic", snd_hda_parse_generic_codec),
 	{} /* terminator */
 };
Signature · 1 line
2.50.0