From 9d6002926cb2d495fdb9097d29da23b63b031f83 Mon Sep 17 00:00:00 2001 From: RichardG867 Date: Mon, 22 Nov 2021 17:04:14 -0300 Subject: [PATCH] Fix a register bit mask on ES1371 --- 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 22f8751a5..876cd227d 100644 --- a/src/sound/snd_audiopci.c +++ b/src/sound/snd_audiopci.c @@ -965,7 +965,7 @@ es1371_outl(uint16_t port, uint32_t val, void *p) /* Sample Rate Converter Interface Register, Address 10H Addressable as longword only */ case 0x10: - dev->sr_cir = val & 0xfff8ffff; /*Bits 16 to 18 are undefined*/ + dev->sr_cir = val & 0xff7fffff; /* Bits 16 to 18 are undefined but read-write. */ if (dev->sr_cir & SRC_RAM_WE) { dev->sr_ram[dev->sr_cir >> 25] = val & 0xffff; switch (dev->sr_cir >> 25) {