From 0f18253e519327f8b1d0d3c2bf4863d71ff66fb8 Mon Sep 17 00:00:00 2001 From: Jinyoung Park Date: Wed, 26 Dec 2012 07:53:58 +0900 Subject: misc: nct1008: Apply hysteresis to trip_temp Apply hysteresis to trip_temp in nct1008_update and() and nct1008_ext_get_trip_temp() to be more accurate. Bug 1200202 Signed-off-by: Jinyoung Park Reviewed-on: http://git-master/r/174182 (cherry picked from commit 9b1cf8282c2b8db66ac13b7e4aa560bff383b90a) Change-Id: I672d05de9d3a8ae7c88d7714e943437170d82cdb Signed-off-by: Jinyoung Park Reviewed-on: http://git-master/r/190959 --- include/linux/nct1008.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/linux') diff --git a/include/linux/nct1008.h b/include/linux/nct1008.h index c6beb0479..d5890cfe6 100644 --- a/include/linux/nct1008.h +++ b/include/linux/nct1008.h @@ -38,6 +38,7 @@ struct nct_trip_temp { enum thermal_trip_type trip_type; unsigned long state; long hysteresis; + bool is_enabled; }; #define NCT_MAX_TRIPS (32) -- cgit v1.2.2