On Wed, Apr 17, 2024 at 03:43:55PM +0200, Gregor Herburger wrote: > According to Errata DS80000789E 5 writing IOCON register using one SPI > write command clears LAT0/LAT1. > > Errata Fix/Work Around suggests to write registers with single byte write > instructions. However, it seems that every write to the second byte > causes the overrite of LAT0/LAT1. nit: overwrite Flagged by ./scripts/checkpatch.pl --codespell > > Never write byte 2 of IOCON register to avoid clearing of LAT0/LAT1. > > Signed-off-by: Gregor Herburger <gregor.herburger@xxxxxxxxxxxxxxx> ...