mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
Merge "msm: IPA: mhi_proxy: correct the mhi vote for both bus and device"
This commit is contained in:
commit
039c7ea65a
1 changed files with 4 additions and 2 deletions
|
|
@ -641,7 +641,8 @@ struct ipa_mhi_clk_vote_resp_msg_v01
|
|||
* executed from mhi context.
|
||||
*/
|
||||
if (vote) {
|
||||
ret = mhi_device_get_sync(imp_ctx->md.mhi_dev, MHI_VOTE_BUS);
|
||||
ret = mhi_device_get_sync(imp_ctx->md.mhi_dev,
|
||||
MHI_VOTE_BUS | MHI_VOTE_DEVICE);
|
||||
if (ret) {
|
||||
IMP_ERR("mhi_sync_get failed %d\n", ret);
|
||||
resp->resp.result = IPA_QMI_RESULT_FAILURE_V01;
|
||||
|
|
@ -651,7 +652,8 @@ struct ipa_mhi_clk_vote_resp_msg_v01
|
|||
return resp;
|
||||
}
|
||||
} else {
|
||||
mhi_device_put(imp_ctx->md.mhi_dev, MHI_VOTE_BUS);
|
||||
mhi_device_put(imp_ctx->md.mhi_dev,
|
||||
MHI_VOTE_BUS | MHI_VOTE_DEVICE);
|
||||
}
|
||||
|
||||
mutex_lock(&imp_ctx->mutex);
|
||||
|
|
|
|||
Loading…
Reference in a new issue