Revert "Only adjust die speeds as well as fanspeeds on hfa if we've taken enough temperature samples." This reverts commit 0a0418d8a608de53ac84c7ad4cee32290b8c6882.
diff --git a/driver-hashfast.c b/driver-hashfast.c
index 7b25b71..eee792c 100644
--- a/driver-hashfast.c
+++ b/driver-hashfast.c
@@ -1140,6 +1140,8 @@ static void hfa_temp_clock(struct cgpu_info *hashfast, struct hashfast_info *inf
}
/* Find the direction of temperature change since we last checked */
+ if (info->temp_updates < 5)
+ goto fan_only;
info->temp_updates = 0;
temp_change = info->max_temp - info->last_max_temp;
info->last_max_temp = info->max_temp;
@@ -1171,6 +1173,7 @@ static void hfa_temp_clock(struct cgpu_info *hashfast, struct hashfast_info *inf
}
}
+fan_only:
/* Do no restarts at all if there has been one less than 15 seconds
* ago */
if (now_t - info->last_restart < 15)