|
@@ -119,10 +119,7 @@ int cpuidle_idle_call(void)
|
|
|
struct cpuidle_driver *drv;
|
|
struct cpuidle_driver *drv;
|
|
|
int next_state, entered_state;
|
|
int next_state, entered_state;
|
|
|
|
|
|
|
|
- if (off)
|
|
|
|
|
- return -ENODEV;
|
|
|
|
|
-
|
|
|
|
|
- if (!initialized)
|
|
|
|
|
|
|
+ if (off || !initialized)
|
|
|
return -ENODEV;
|
|
return -ENODEV;
|
|
|
|
|
|
|
|
/* check if the device is ready */
|
|
/* check if the device is ready */
|