From 39f40d45ea0bd0d167a0decb5264de2659ca78ae Mon Sep 17 00:00:00 2001 From: OBattler Date: Fri, 3 Dec 2021 00:39:35 +0100 Subject: [PATCH] The ES1371 now correctly clears all interrupts when it is reset. --- src/sound/snd_audiopci.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/sound/snd_audiopci.c b/src/sound/snd_audiopci.c index 37b112287..7efc9e812 100644 --- a/src/sound/snd_audiopci.c +++ b/src/sound/snd_audiopci.c @@ -317,6 +317,9 @@ es1371_reset(void *p) /* UART FIFO Register, Address 30H, 34H, 38H, 3CH, Memory Page 1110b, 1111b Addressable as longword only */ dev->uart_fifo = 0xfffffe00; + + /* Update interrupts to ensure they're all correctly cleared. */ + es1371_update_irqs(dev); }