|
@@ -65,7 +65,7 @@ static void thermal_zone_trip_update(struct thermal_zone_device *tz, int trip)
|
|
if (instance->target == 0 && tz->temperature >= trip_temp)
|
|
if (instance->target == 0 && tz->temperature >= trip_temp)
|
|
instance->target = 1;
|
|
instance->target = 1;
|
|
else if (instance->target == 1 &&
|
|
else if (instance->target == 1 &&
|
|
- tz->temperature < trip_temp - trip_hyst)
|
|
|
|
|
|
+ tz->temperature <= trip_temp - trip_hyst)
|
|
instance->target = 0;
|
|
instance->target = 0;
|
|
|
|
|
|
dev_dbg(&instance->cdev->device, "target=%d\n",
|
|
dev_dbg(&instance->cdev->device, "target=%d\n",
|