diff options
author | Guenter Roeck <linux@roeck-us.net> | 2020-04-09 05:37:30 +0200 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2020-04-13 00:12:51 +0200 |
commit | ed08ebb7124e90a99420bb913d602907d377d03d (patch) | |
tree | 4bec5d786d61e6992f5dd8375ae89dcb4f67b868 /drivers/hwmon/k10temp.c | |
parent | hwmon: (drivetemp) Use drivetemp's true module name in Kconfig section (diff) | |
download | linux-ed08ebb7124e90a99420bb913d602907d377d03d.tar.xz linux-ed08ebb7124e90a99420bb913d602907d377d03d.zip |
hwmon: (drivetemp) Return -ENODATA for invalid temperatures
Holger Hoffstätte observed that Samsung 850 Pro may return invalid
temperatures for a short period of time after resume. Return -ENODATA
to userspace if this is observed.
Fixes: 5b46903d8bf3 ("hwmon: Driver for disk and solid state drives with temperature sensors")
Reported-by: Holger Hoffstätte <holger@applied-asynchrony.com>
Cc: Holger Hoffstätte <holger@applied-asynchrony.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/k10temp.c')
0 files changed, 0 insertions, 0 deletions