Commit ed08ebb7 authored by Guenter Roeck's avatar Guenter Roeck
Browse files

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:  5b46903d

 ("hwmon: Driver for disk and solid state drives with temperature sensors")
Reported-by: default avatarHolger Hoffstätte <holger@applied-asynchrony.com>
Cc: Holger Hoffstätte <holger@applied-asynchrony.com>
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent 6bdf8f3e
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment