summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2019-06-07 10:23:21 -0700
committerGuenter Roeck <linux@roeck-us.net>2019-06-23 18:33:01 -0700
commit0d5cc9383eea0835621cd458c34f1209d483e2ef (patch)
tree34f3cde18942663221e7619079f3a18d6deb09f3 /Makefile
parentf5b20b11bbc230f64c099b12c37121aacf6f0b65 (diff)
downloadlinux-0d5cc9383eea0835621cd458c34f1209d483e2ef.tar.gz
linux-0d5cc9383eea0835621cd458c34f1209d483e2ef.tar.bz2
linux-0d5cc9383eea0835621cd458c34f1209d483e2ef.zip
hwmon: (max6650) Simplify alarm handling
Instead of re-reading the alarm register after reporting an alarm, mark cached values as invalid. While this results in always reading all data on subsequent reads, it is quite unlikely that such reads will actually happen before the cache times out. The upside is avoiding unnecessary unconditional i2c read operations. Cc: Jean-Francois Dagenais <jeff.dagenais@gmail.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions