From: Takashi Iwai Date: Fri, 4 Jul 2025 07:11:06 +0000 (+0200) Subject: ALSA: hda: Add device entry for QEMU X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0d3d3d01947b842d3c8934394f5210143a54db4a;p=thirdparty%2Fkernel%2Flinux.git 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. Link: https://patch.msgid.link/20250704071107.14626-1-tiwai@suse.de Signed-off-by: Takashi Iwai --- diff --git a/sound/pci/hda/hda_generic.c b/sound/pci/hda/hda_generic.c index b34d84fedcc8a..2a28c8b6ba552 100644 --- a/sound/pci/hda/hda_generic.c +++ b/sound/pci/hda/hda_generic.c @@ -6144,6 +6144,7 @@ error: } 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 */ };