|
@@ -330,7 +330,7 @@ static int menu_select(struct cpuidle_driver *drv, struct cpuidle_device *dev)
|
|
* We want to default to C1 (hlt), not to busy polling
|
|
* We want to default to C1 (hlt), not to busy polling
|
|
* unless the timer is happening really really soon.
|
|
* unless the timer is happening really really soon.
|
|
*/
|
|
*/
|
|
- if (data->next_timer_us > 20 &&
|
|
|
|
|
|
+ if (interactivity_req > 20 &&
|
|
!drv->states[CPUIDLE_DRIVER_STATE_START].disabled &&
|
|
!drv->states[CPUIDLE_DRIVER_STATE_START].disabled &&
|
|
dev->states_usage[CPUIDLE_DRIVER_STATE_START].disable == 0)
|
|
dev->states_usage[CPUIDLE_DRIVER_STATE_START].disable == 0)
|
|
data->last_state_idx = CPUIDLE_DRIVER_STATE_START;
|
|
data->last_state_idx = CPUIDLE_DRIVER_STATE_START;
|