android_kernel_xiaomi_sm8350/drivers/hwmon
Jean Delvare b0bcdd3cd0 hwmon: (w83781d) Request I/O ports individually for probing
Different motherboards have different PNP declarations for
W83781D/W83782D chips. Some declare the whole range of I/O ports (8
ports), some declare only the useful ports (2 ports at offset 5) and
some declare fancy ranges, for example 4 ports at offset 4. To
properly handle all cases, request all ports individually for probing.
After we have determined that we really have a W83781D or W83782D
chip, the useful port range will be requested again, as a single
block.

I did not see a board which needs this yet, but I know of one for lm78
driver and I'd like to keep the logic of these two drivers in sync.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Cc: stable@kernel.org
2010-02-05 19:58:36 +01:00
..
ams
abituguru3.c
abituguru.c
ad7414.c
ad7418.c
adcxx.c
adm1021.c i2c: Drop I2C_CLIENT_INSMOD_2 to 8 2009-12-14 21:17:27 +01:00
adm1025.c i2c: Drop I2C_CLIENT_INSMOD_2 to 8 2009-12-14 21:17:27 +01:00
adm1026.c i2c: Drop I2C_CLIENT_INSMOD_1 2009-12-14 21:17:26 +01:00
adm1029.c i2c: Drop I2C_CLIENT_INSMOD_1 2009-12-14 21:17:26 +01:00
adm1031.c i2c: Drop I2C_CLIENT_INSMOD_2 to 8 2009-12-14 21:17:27 +01:00
adm9240.c i2c: Drop I2C_CLIENT_INSMOD_2 to 8 2009-12-14 21:17:27 +01:00
ads7828.c i2c: Drop I2C_CLIENT_INSMOD_1 2009-12-14 21:17:26 +01:00
adt7462.c hwmon: (adt7462) Wrong ADT7462_VOLT_COUNT 2010-02-05 19:58:35 +01:00
adt7470.c i2c: Drop I2C_CLIENT_INSMOD_1 2009-12-14 21:17:26 +01:00
adt7473.c i2c: Drop I2C_CLIENT_INSMOD_1 2009-12-14 21:17:26 +01:00
adt7475.c i2c: Drop I2C_CLIENT_INSMOD_2 to 8 2009-12-14 21:17:27 +01:00
amc6821.c hwmon: (amc6821) Double unlock bug 2010-01-25 15:00:49 +01:00
applesmc.c const: constify remaining dev_pm_ops 2009-12-15 08:53:25 -08:00
asb100.c i2c: Drop I2C_CLIENT_INSMOD_1 2009-12-14 21:17:26 +01:00
asus_atk0110.c hwmon: (asus_atk0110) Do not fail if MBIF is missing 2010-01-25 15:00:49 +01:00
atxp1.c i2c: Drop I2C_CLIENT_INSMOD_1 2009-12-14 21:17:26 +01:00
coretemp.c hwmon: (coretemp) Fix TjMax for Atom N450/D410/D510 CPUs 2010-01-10 20:52:34 +01:00
dme1737.c i2c: Drop I2C_CLIENT_INSMOD_2 to 8 2009-12-14 21:17:27 +01:00
ds1621.c i2c: Drop I2C_CLIENT_INSMOD_1 2009-12-14 21:17:26 +01:00
f71805f.c
f71882fg.c hwmon: (f71882fg) Add support for the f71889fg (version 2) 2009-12-09 20:36:01 +01:00
f75375s.c i2c: Drop I2C_CLIENT_INSMOD_2 to 8 2009-12-14 21:17:27 +01:00
fschmd.c hwmon: (fschmd) Fix a memleak on multiple opens of /dev/watchdog 2010-01-25 15:00:50 +01:00
g760a.c
gl518sm.c i2c: Drop I2C_CLIENT_INSMOD_2 to 8 2009-12-14 21:17:27 +01:00
gl520sm.c i2c: Drop I2C_CLIENT_INSMOD_1 2009-12-14 21:17:26 +01:00
hdaps.c
hp_accel.c lis3: add support for the HP HDX 18 2009-10-29 07:39:32 -07:00
hwmon-vid.c
hwmon.c
i5k_amb.c
ibmaem.c
ibmpex.c
it87.c hwmon: (it87) Check for fan2 and fan3 availability 2009-12-09 20:35:48 +01:00
k8temp.c hwmon: Make PCI device ids constant 2010-01-10 20:52:35 +01:00
k10temp.c hwmon: Make PCI device ids constant 2010-01-10 20:52:35 +01:00
Kconfig Merge branch 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelvare/staging 2010-01-11 09:45:55 -08:00
lis3lv02d_i2c.c hwmon: I2C bus support for lis3lv02d and variant accelerometer chips 2009-12-17 15:45:30 -08:00
lis3lv02d_spi.c lis3lv02d_spi: module unload didn't remove sysfs entry 2009-10-08 07:36:40 -07:00
lis3lv02d.c lis3: scale output values to mg 2009-12-15 08:53:36 -08:00
lis3lv02d.h lis3: scale output values to mg 2009-12-15 08:53:36 -08:00
lm63.c i2c: Drop I2C_CLIENT_INSMOD_1 2009-12-14 21:17:26 +01:00
lm70.c
lm73.c i2c: Drop I2C_CLIENT_INSMOD_1 2009-12-14 21:17:26 +01:00
lm75.c i2c: Drop I2C_CLIENT_INSMOD_1 2009-12-14 21:17:26 +01:00
lm75.h
lm77.c i2c: Drop I2C_CLIENT_INSMOD_1 2009-12-14 21:17:26 +01:00
lm78.c hwmon: (lm78) Request I/O ports individually for probing 2010-02-05 19:58:36 +01:00
lm80.c i2c: Drop I2C_CLIENT_INSMOD_1 2009-12-14 21:17:26 +01:00
lm83.c i2c: Drop I2C_CLIENT_INSMOD_2 to 8 2009-12-14 21:17:27 +01:00
lm85.c i2c: Drop I2C_CLIENT_INSMOD_2 to 8 2009-12-14 21:17:27 +01:00
lm87.c i2c: Drop I2C_CLIENT_INSMOD_2 to 8 2009-12-14 21:17:27 +01:00
lm90.c i2c: Drop I2C_CLIENT_INSMOD_2 to 8 2009-12-14 21:17:27 +01:00
lm92.c i2c: Drop I2C_CLIENT_INSMOD_1 2009-12-14 21:17:26 +01:00
lm93.c i2c: Drop I2C_CLIENT_INSMOD_1 2009-12-14 21:17:26 +01:00
lm95241.c i2c: Drop I2C_CLIENT_INSMOD_1 2009-12-14 21:17:26 +01:00
ltc4215.c ltc4215/ltc4245: Discard obsolete detect methods 2009-10-04 22:53:42 +02:00
ltc4245.c ltc4215/ltc4245: Discard obsolete detect methods 2009-10-04 22:53:42 +02:00
Makefile hwmon: driver for Texas Instruments amc6821 chip 2010-01-11 09:34:06 -08:00
max1111.c
max1619.c i2c: Drop I2C_CLIENT_INSMOD_1 2009-12-14 21:17:26 +01:00
max6650.c i2c: Drop I2C_CLIENT_INSMOD_1 2009-12-14 21:17:26 +01:00
mc13783-adc.c hwmon: Add Freescale MC13783 ADC driver 2009-12-09 20:35:58 +01:00
pc87360.c
pc87427.c
pcf8591.c i2c: Drop I2C_CLIENT_INSMOD_1 2009-12-14 21:17:26 +01:00
s3c-hwmon.c hwmon: (s3c-hwmon) Fix build error 2009-12-09 20:35:45 +01:00
sht15.c hwmon: (sht15) Off-by-one error in array index + incorrect constants 2009-12-16 21:38:28 +01:00
sis5595.c hwmon: Make PCI device ids constant 2010-01-10 20:52:35 +01:00
smsc47b397.c
smsc47m1.c hwmon: (smsc47m1) Fix section mismatch 2010-01-25 15:00:48 +01:00
smsc47m192.c i2c: Drop I2C_CLIENT_INSMOD_1 2009-12-14 21:17:26 +01:00
thmc50.c i2c: Drop I2C_CLIENT_INSMOD_2 to 8 2009-12-14 21:17:27 +01:00
tmp401.c i2c: Drop I2C_CLIENT_INSMOD_2 to 8 2009-12-14 21:17:27 +01:00
tmp421.c i2c: Drop I2C_CLIENT_INSMOD_2 to 8 2009-12-14 21:17:27 +01:00
ultra45_env.c
via686a.c hwmon: Make PCI device ids constant 2010-01-10 20:52:35 +01:00
via-cputemp.c hwmon: Add driver for VIA CPU core temperature 2009-12-16 21:38:28 +01:00
vt1211.c
vt8231.c hwmon: Make PCI device ids constant 2010-01-10 20:52:35 +01:00
w83l785ts.c i2c: Drop I2C_CLIENT_INSMOD_1 2009-12-14 21:17:26 +01:00
w83l786ng.c i2c: Drop I2C_CLIENT_INSMOD_1 2009-12-14 21:17:26 +01:00
w83627ehf.c hwmon: w83627ehf updates 2009-12-15 08:53:35 -08:00
w83627hf.c hwmon: (w83627hf) Fix for "No such device" 2009-12-16 21:38:29 +01:00
w83781d.c hwmon: (w83781d) Request I/O ports individually for probing 2010-02-05 19:58:36 +01:00
w83791d.c i2c: Drop I2C_CLIENT_INSMOD_1 2009-12-14 21:17:26 +01:00
w83792d.c i2c: Drop I2C_CLIENT_INSMOD_1 2009-12-14 21:17:26 +01:00
w83793.c i2c: Drop I2C_CLIENT_INSMOD_1 2009-12-14 21:17:26 +01:00
wm831x-hwmon.c
wm8350-hwmon.c