android_kernel_xiaomi_sm8350/drivers/hwmon
Guillaume Chazarain f5744e3775 hwmon: Fix regression caused by typo in lm90.c
The commit http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=32c82a934759b2c9939c9e25865c2d7d1204b9e8
broke lm90 for my (Asus V6VA) laptop.

Before 2.6.23-rc1 and with the following patch, I get:

[g ~]$ sensors
max6657-i2c-0-4c
Adapter: SMBus I801 adapter at 0400
M/B Temp:    +64°C  (low  =    +0°C, high =  +127°C)
CPU Temp:  +78.9°C  (low  = +73.2°C, high = +88.2°C)
M/B Crit:   +105°C  (hyst =   +95°C)
CPU Crit:   +105°C  (hyst =   +95°C)

Which regressed into:

[g ~]$ sensors
No sensors found!
Make sure you loaded all the kernel drivers you need.
Try sensors-detect to find out which these are.
zsh: 2701 exit 1     sensors

and dmesg contains:

i2c-adapter i2c-0: Unsupported chip (man_id=0x4D, chip_id=0x4D).

It seems to be a typo, as address 0X4F is mentionned nowhere else in the file,
and my chip is actually at 0x4C.

Signed-off-by: Guillaume Chazarain <guichaz@yahoo.fr>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Mark M. Hoffman <mhoffman@lightlink.com>
2007-07-30 21:10:34 -04:00
..
ams hwmon: clean up duplicate includes 2007-07-30 21:05:26 -04:00
abituguru3.c hwmon: fix Abit Uguru3 driver detection on some motherboards 2007-07-19 14:22:18 -04:00
abituguru.c hwmon: refuse to load abituguru driver on non-Abit boards 2007-07-19 14:25:04 -04:00
ad7418.c
adm1021.c
adm1025.c
adm1026.c
adm1029.c
adm1031.c
adm9240.c
applesmc.c hwmon: (applesmc) add temperature sensors set for Macbook 2007-07-30 21:09:49 -04:00
asb100.c
atxp1.c
coretemp.c make coretemp_device_remove() static 2007-07-19 14:22:16 -04:00
dme1737.c hwmon: fix dme1737 temp fault attribute 2007-07-30 21:07:23 -04:00
ds1621.c hwmon/ds1621: Create individual alarm files 2007-07-19 14:22:11 -04:00
f71805f.c hwmon/f71805f: Add temperature-tracking fan control mode 2007-07-19 14:22:15 -04:00
fscher.c hwmon: fscher control update bugfix 2007-07-30 21:08:38 -04:00
fscpos.c
gl518sm.c
gl520sm.c
hdaps.c
hwmon-vid.c
hwmon.c
it87.c hwmon: Add missing __devexit tags in various drivers 2007-07-30 21:05:43 -04:00
k8temp.c
Kconfig hwmon: add support for THMC50 and ADM1022 2007-07-30 21:02:59 -04:00
lm63.c hwmon: Fault files naming convention 2007-07-19 14:22:12 -04:00
lm70.c SPI: add 3wire mode flag 2007-07-17 10:23:04 -07:00
lm75.c
lm75.h
lm77.c
lm78.c hwmon: fix lm78 detection regression 2007-07-30 21:05:07 -04:00
lm80.c
lm83.c hwmon: Fault files naming convention 2007-07-19 14:22:12 -04:00
lm85.c
lm87.c
lm90.c hwmon: Fix regression caused by typo in lm90.c 2007-07-30 21:10:34 -04:00
lm92.c
lm93.c hwmon: fix array overruns in lm93.c 2007-07-30 21:04:13 -04:00
Makefile hwmon: add support for THMC50 and ADM1022 2007-07-30 21:02:59 -04:00
max1619.c
max6650.c
pc87360.c hwmon: Add missing __devexit tags in various drivers 2007-07-30 21:05:43 -04:00
pc87427.c hwmon: Fix a potential race condition on unload 2007-07-19 14:22:14 -04:00
sis5595.c hwmon: Add missing __devexit tags in various drivers 2007-07-30 21:05:43 -04:00
smsc47b397.c hwmon/smsc47b397: Don't report missing fans as spinning at 82 RPM 2007-07-19 14:22:16 -04:00
smsc47m1.c hwmon: Add missing __devexit tags in various drivers 2007-07-30 21:05:43 -04:00
smsc47m192.c hwmon: Fault files naming convention 2007-07-19 14:22:12 -04:00
thmc50.c hwmon: add support for THMC50 and ADM1022 2007-07-30 21:02:59 -04:00
via686a.c hwmon: Add missing __devexit tags in various drivers 2007-07-30 21:05:43 -04:00
vt1211.c
vt8231.c hwmon: Add missing __devexit tags in various drivers 2007-07-30 21:05:43 -04:00
w83l785ts.c
w83627ehf.c hwmon/w83627ehf: Be quiet when no chip is found 2007-07-19 14:22:18 -04:00
w83627hf.c hwmon: Add missing __devexit tags in various drivers 2007-07-30 21:05:43 -04:00
w83781d.c
w83791d.c
w83792d.c
w83793.c