https://github.com/torvalds/linux
Revision 0a6bf658c3b9d1d0e520d320b6392c8680c2e381 authored by Ira W. Snyder on 13 December 2010, 16:42:30 UTC, committed by Guenter Roeck on 13 December 2010, 17:54:50 UTC
The ltc4215 driver used the chip's "power good" status bit to provide
the power1_alarm file. This is wrong: the chip is really reporting the
status of one of the monitored voltages.

Change the sysfs file from power1_alarm to in2_min_alarm instead. This
matches the voltage that the chip is raising an alarm for.

Signed-off-by: Ira W. Snyder <iws@ovro.caltech.edu>
Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
1 parent 6313e3c
History
Tip revision: 0a6bf658c3b9d1d0e520d320b6392c8680c2e381 authored by Ira W. Snyder on 13 December 2010, 16:42:30 UTC
hwmon: (ltc4215) make sysfs file match the alarm cause
Tip revision: 0a6bf65
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 936 bytes
.mailmap -rw-r--r-- 3.9 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 91.8 KB
Kbuild -rw-r--r-- 2.4 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 178.4 KB
Makefile -rw-r--r-- 50.9 KB
README -rw-r--r-- 17.1 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top