projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
thermal: hwmon: Properly report critical temperature in sysfs
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
thermal
/
thermal_hwmon.c
diff --git
a/drivers/thermal/thermal_hwmon.c
b/drivers/thermal/thermal_hwmon.c
index 06fd2ed9ef9d13bf0ab09f727020f873152b8da9..705b0cafedbb442d6f96e09b606171c4e1e77b9d 100644
(file)
--- a/
drivers/thermal/thermal_hwmon.c
+++ b/
drivers/thermal/thermal_hwmon.c
@@
-98,7
+98,7
@@
temp_crit_show(struct device *dev, struct device_attribute *attr, char *buf)
int temperature;
int ret;
- ret = tz->ops->get_
trip_temp(tz, 0
, &temperature);
+ ret = tz->ops->get_
crit_temp(tz
, &temperature);
if (ret)
return ret;