diff options
| author | Eugene Shalygin <eugene.shalygin@gmail.com> | 2026-07-11 14:26:44 +0200 |
|---|---|---|
| committer | Guenter Roeck <linux@roeck-us.net> | 2026-08-10 08:59:41 -0700 |
| commit | 71a6c1950fa573e5b27de319e371fa94f6572006 (patch) | |
| tree | 767b39bae4e5cdc9e58744bd5aac684246a722c9 /scripts/stackusage | |
| parent | 90639003c0826393f21c65fbbcafaa18510bbfdb (diff) | |
hwmon: (asus-ec-sensors) detect unconnected physical sensors
When there is no physical sensor connected to the motherboard
socket,reading EC register returns one of the special values
(-62, -60, -40). Test for them and return -ENODATA to hwmon.
Signed-off-by: Eugene Shalygin <eugene.shalygin@gmail.com>
Link: https://lore.kernel.org/r/20260711122937.594989-2-eugene.shalygin@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions
