Merge "msm: ipa: fix clock vote sm on imp"

This commit is contained in:
qctecmdr Service 2018-05-25 15:33:20 -07:00 committed by Gerrit - the friendly Code Review server
commit 57116e1446

View File

@ -594,7 +594,7 @@ int imp_handle_vote_req(bool vote)
IMP_DBG_LOW("vote %d\n", vote);
mutex_lock(&imp_ctx->mutex);
if (imp_ctx->state != IMP_READY) {
if (imp_ctx->state != IMP_STARTED) {
IMP_ERR("unexpected vote when in state %d\n", imp_ctx->state);
mutex_unlock(&imp_ctx->mutex);
return -EPERM;