Made bits 16 and 18 of the Sample Rate Converter register of the ES1371 not writeable, fixes hangs with most NT 4.0 ES1371 drivers while keeping compatibility with other operating systems' drivers.
This commit is contained in:
@@ -964,7 +964,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;
|
||||
dev->sr_cir = val & 0xfff8ffff; /*Bits 16 to 18 are undefined*/
|
||||
if (dev->sr_cir & SRC_RAM_WE) {
|
||||
dev->sr_ram[dev->sr_cir >> 25] = val & 0xffff;
|
||||
switch (dev->sr_cir >> 25) {
|
||||
|
Reference in New Issue
Block a user