From 5d87f6b8f1e870fa71363e0770afb5988393e37f Mon Sep 17 00:00:00 2001 From: RichardG867 Date: Tue, 23 Nov 2021 23:37:10 -0300 Subject: [PATCH] Fix AC97 codec reset flags not being set --- src/sound/snd_ac97_codec.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/sound/snd_ac97_codec.c b/src/sound/snd_ac97_codec.c index 80e2e68fc..64794ce4a 100644 --- a/src/sound/snd_ac97_codec.c +++ b/src/sound/snd_ac97_codec.c @@ -566,6 +566,7 @@ ac97_codec_init(const device_t *info) dev->vendor_id = ac97_codecs[info->local].vendor_id; dev->min_rate = ac97_codecs[info->local].min_rate; dev->max_rate = ac97_codecs[info->local].max_rate; + dev->reset_flags = ac97_codecs[info->local].reset_flags; dev->extid_flags = ac97_codecs[info->local].extid_flags; dev->misc_flags = ac97_codecs[info->local].misc_flags; dev->powerdown_mask = ac97_codecs[info->local].powerdown_mask;