if (!arm_state)
/* autosuspend not supported - always return wanted */
return 1;
- else if (arm_state->blocked_count)
- return 1;
else if (!arm_state->videocore_use_count)
/* usage count zero - check for override unless we're forcing */
return vchiq_platform_videocore_wanted(state);
*/
int peer_use_count;
- int blocked_count;
-
/* Flag to indicate that the first vchiq connect has made it through.
** This means that both sides should be fully ready, and we should
** be able to suspend after this point.