CVSROOT:        /cvs
Module name:    src
Changes by:     dera...@cvs.openbsd.org 2024/08/16 20:28:45

Modified files:
        sys/dev/ic     : dwiic.c 

Log 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

Reply via email to