From 0d0459f9724a968a14af26599ba731653558f87b Mon Sep 17 00:00:00 2001 From: OBattler Date: Fri, 3 Dec 2021 00:45:50 +0100 Subject: [PATCH] The ES1371 no longer blocks reads of the power management registers. --- src/sound/snd_audiopci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sound/snd_audiopci.c b/src/sound/snd_audiopci.c index 7efc9e812..7f10701f5 100644 --- a/src/sound/snd_audiopci.c +++ b/src/sound/snd_audiopci.c @@ -1404,7 +1404,7 @@ es1371_pci_read(int func, int addr, void *p) if (func > 0) return 0xff; - if (addr > 0x3f) + if ((addr > 0x3f) && ((addr < 0xdc) || (addr > 0xe1))) return 0x00; switch (addr) {