mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
Merge "msm: ipa: fix clock vote sm on imp"
This commit is contained in:
commit
57116e1446
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user