Merge pull request #2890 from Cacodemon345/acer_s20_mpu401
AD1848: Writes to register 27 are rejected on Crystal
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user