Author :
deraadt
Date :
2024-08-17 02:28:45
Hash :c6b110bc Message :The dwiic_init() routine is used at startup to read various chip
registers, make some decisions, and then program other registers. After
a resume, it is pointless, and potentially incorrect to read such registers
again, which a BIOS or something may not have initialized, and we are
better off using the remembered soft-state to init cleanly. So craft a
custom block of chip restoration, and do it while the chip is stopped hard.
ok kettenis mlarkin