Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | hwmon: (jc42) do not allow writing to locked registers | Clemens Ladisch | 2011-02-16 | 1 | -4/+29 |
| | | | | | | | | | | | | | On systems where the temperature sensor is actually used, the BIOS is likely to have locked the alarm registers. In that case, all writes through the corresponding sysfs files would be silently ignored. To prevent this, detect the locks and make the affected sysfs files read-only. Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Cc: stable@kernel.org Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com> | ||||
* | hwmon: (jc42) fix type mismatch | Clemens Ladisch | 2011-02-16 | 1 | -1/+1 |
| | | | | | | | | | In set_temp_crit_hyst(), make the variable 'val' have the correct type for strict_strtoul(). Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Cc: stable@kernel.org Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com> | ||||
* | hwmon: add support for JEDEC JC 42.4 compliant temperature sensors | Guenter Roeck | 2010-08-09 | 1 | -0/+593 |
[akpm@linux-foundation.org: coding-style fixes] Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com> Cc: Jean Delvare <khali@linux-fr.org> Cc: Randy Dunlap <rdunlap@xenotime.net> Cc: Hans de Goede <hdegoede@redhat.com> Cc: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> |