Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

hwmon: (w83l785ts) Don't ask the user to report failures

There's nothing we can do about read errors on the W83L785TS-S, so
don't ask the user to report them.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Mark M. Hoffman <mhoffman@lightlink.com>

authored by

Jean Delvare and committed by
Mark M. Hoffman
4040c415 4b119e21

+4 -3
+2 -1
Documentation/hwmon/w83l785ts
··· 33 33 ------------ 34 34 35 35 On some systems (Asus), the BIOS is known to interfere with the driver 36 - and cause read errors. The driver will retry a given number of times 36 + and cause read errors. Or maybe the W83L785TS-S chip is simply unreliable, 37 + we don't really know. The driver will retry a given number of times 37 38 (5 by default) and then give up, returning the old value (or 0 if 38 39 there is no old value). It seems to work well enough so that you should 39 40 not notice anything. Thanks to James Bolt for helping test this feature.
+2 -2
drivers/hwmon/w83l785ts.c
··· 301 301 msleep(i); 302 302 } 303 303 304 - dev_err(&client->dev, "Couldn't read value from register 0x%02x. " 305 - "Please report.\n", reg); 304 + dev_err(&client->dev, "Couldn't read value from register 0x%02x.\n", 305 + reg); 306 306 return defval; 307 307 } 308 308