android_kernel_xiaomi_sm8350/drivers/hwmon
Henrik Rydberg 8c9398d1e9 hwmon: applesmc: lighter wait mechanism, drastic improvement
The read fail ratio is sensitive to the delay between the first byte
written and the first byte read; apparently the sensors cannot be rushed.
Increasing the minimum wait time, without changing the total wait time,
improves the fail ratio from a 8% chance that any of the sensors fails in
one read, down to 0.4%, on a Macbook Air.  On a Macbook Pro 3,1, the
effect is even more apparent.  By reducing the number of status polls, the
ratio is further improved to below 0.1%.  Finally, increasing the total
wait time brings the fail ratio down to virtually zero.

Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Tested-by: Bob McElrath <bob@mcelrath.org>
Cc: Nicolas Boichat <nicolas@boichat.ch>
Cc: "Mark M. Hoffman" <mhoffman@lightlink.com>
Cc: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-10-20 08:52:35 -07:00
..
ams hwmon: (ams) Simplify IRQ handling routine 2008-10-17 17:51:13 +02:00
abituguru3.c hwmon: (abituguru3) Enable DMI probing feature on Abit AT8 32X 2008-10-09 15:33:59 +02:00
abituguru.c
ad7414.c hwmon: (ad7414) Make ad7414_update_device() static 2008-09-20 10:25:20 +02:00
ad7418.c
adcxx.c hwmon: ADC124S501 generic driver 2008-08-15 08:35:43 -07:00
adm1021.c
adm1025.c
adm1026.c hwmon: (adm1026) Prevent log spamming 2008-10-17 17:51:20 +02:00
adm1029.c hwmon: (adm1029) Use mask for fan_div value 2008-10-17 17:51:20 +02:00
adm1031.c
adm9240.c
ads7828.c
adt7470.c
adt7473.c
applesmc.c hwmon: applesmc: lighter wait mechanism, drastic improvement 2008-10-20 08:52:35 -07:00
asb100.c
atxp1.c hwmon: (atxp1) Fix device detection logic 2008-09-20 10:25:19 +02:00
coretemp.c coretemp: recognize Nehalem CPUs 2008-08-15 08:35:44 -07:00
dme1737.c hwmon: (dme1737) Convert to a new-style i2c driver 2008-10-14 17:30:04 +02:00
ds1621.c
f71805f.c
f71882fg.c hwmon: (f71882fg) Delete needless forward declarations 2008-08-06 22:41:04 +02:00
f75375s.c
fscher.c
fschmd.c
fscpos.c
gl518sm.c
gl520sm.c
hdaps.c
hwmon-vid.c hwmon-vid: Fix AMD K8 VID decoding 2008-08-15 11:50:15 -07:00
hwmon.c device create: misc: convert device_create_drvdata to device_create 2008-10-16 09:24:43 -07:00
i5k_amb.c i5k_amb: provide labels for temperature sensors 2008-08-15 08:35:43 -07:00
ibmaem.c hwmon: (ibmaem) Automatically load on IBM systems via DMI 2008-10-17 17:51:19 +02:00
ibmpex.c hwmon: (ibmpex) Automatically load on IBM systems via DMI 2008-10-17 17:51:19 +02:00
it87.c hwmon: (it87) Fix thermal sensor type values 2008-10-17 17:51:16 +02:00
k8temp.c
Kconfig hwmon: (lm90) Support MAX6646, MAX6647 and MAX6649 2008-10-17 17:51:11 +02:00
lm63.c
lm70.c
lm75.c hwmon: (lm75) Drop legacy i2c driver 2008-08-10 22:56:16 +02:00
lm75.h
lm77.c
lm78.c hwmon: (lm78) Convert to a new-style i2c driver 2008-10-17 17:51:16 +02:00
lm80.c
lm83.c
lm85.c hwmon: (lm85) Better label names 2008-10-17 17:51:14 +02:00
lm87.c hwmon: (lm87) Add support for configuration through platform_data 2008-10-17 17:51:12 +02:00
lm90.c hwmon: (lm90) Don't spam the kernel log 2008-10-17 17:51:11 +02:00
lm92.c
lm93.c
Makefile Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6 2008-10-11 12:39:35 -07:00
max1111.c hwmon: add max1111_read_channel() for use by sharpsl_pm 2008-09-23 22:04:32 +01:00
max1619.c hwmon: (max1619) Use inline functions instead of macros 2008-10-17 17:51:16 +02:00
max6650.c
pc87360.c hwmon/pc87360 separate alarm files: add therm-min/max/crit-alarms 2008-10-20 08:52:35 -07:00
pc87427.c
sis5595.c
smsc47b397.c
smsc47m1.c
smsc47m192.c
thmc50.c hwmon: (thmc50) Add support for critical temperature limits 2008-08-06 22:41:05 +02:00
ultra45_env.c sparc: Annotate of_device_id arrays with const or __initdata. 2008-08-31 01:23:17 -07:00
via686a.c
vt1211.c
vt8231.c
w83l785ts.c
w83l786ng.c
w83627ehf.c
w83627hf.c hwmon: (w83627hf) Drop reset module parameter 2008-08-06 22:41:04 +02:00
w83781d.c hwmon: (w83781d) Use new style driver binding 2008-10-17 17:51:19 +02:00
w83791d.c hwmon: (w83791d) add support for thermal cruise mode 2008-10-17 17:51:17 +02:00
w83792d.c
w83793.c