Module Name: src Committed By: mrg Date: Sun Feb 3 11:58:02 UTC 2019
Modified Files: src/sys/dev/i2c: dbcool.c Log Message: - dbcool_pmf_suspend() set the wrong bit out of the suspended data as it is stored as a bool and thus when bit 2 was wanted, bit 1 was restored. found by GCC7's "don't use ~ on bool" checker. - consolidate the dbcool_pmf_suspend()/dbcool_pmf_resume() guts in to a shared function dbcool_do_pmf() as they are identical except for 1 vs 2 lines. To generate a diff of this commit: cvs rdiff -u -r1.52 -r1.53 src/sys/dev/i2c/dbcool.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.