]> git.ipfire.org Git - people/ms/linux.git/commit
hwmon: (lm90) Support temp_samples attribute
authorGuenter Roeck <linux@roeck-us.net>
Sun, 16 Jan 2022 16:55:49 +0000 (08:55 -0800)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 13 Jul 2022 15:38:19 +0000 (08:38 -0700)
commitca99633ae40937adfe9acf3d01e5c74fbd940927
tree377d608594f3e5fc8a409c42144a20b93c48ddac
parent018b82877046c2644acd43d5a03c0d3aded5caf2
hwmon: (lm90) Support temp_samples attribute

Several of the chips supported by this driver support configuring the
number of samples (or the fault queue depth) necessary before a fault
or alarm is reported. This is done either with a bit in the configuration
register or with a separate "consecutive alert" register. Support this
functionality with the temp_samples attribute.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/lm90.c