ALSA: hda: Add device entry for QEMU
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.
Signed-off-by Takashi Iwai <[email protected]>
--- sound/pci/hda/hda_generic.c | 1 + 1 file changed, 1 insertion(+)
sound/pci/hda/hda_generic.c +1 -0
@@ -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