Merge pull request #2890 from Cacodemon345/acer_s20_mpu401

AD1848: Writes to register 27 are rejected on Crystal
This commit is contained in:
Miran Grča
2022-11-22 14:57:00 +01:00
committed by GitHub

View File

@@ -378,6 +378,10 @@ ad1848_write(uint16_t addr, uint8_t val, void *priv)
case 25:
return;
case 27:
if (ad1848->type != AD1848_TYPE_DEFAULT)
return;
break;
}
ad1848->regs[ad1848->index] = val;