Loading drivers/platform/msm/ipa/ipa_v3/ipa_mpm.c +4 −2 Original line number Original line Diff line number Diff line Loading @@ -1458,7 +1458,8 @@ static int ipa_mpm_vote_unvote_pcie_clk(enum ipa_mpm_clk_vote_type vote, if (vote == CLK_ON) { if (vote == CLK_ON) { result = mhi_device_get_sync( result = mhi_device_get_sync( ipa_mpm_ctx->md[probe_id].mhi_dev, MHI_VOTE_BUS); ipa_mpm_ctx->md[probe_id].mhi_dev, MHI_VOTE_BUS | MHI_VOTE_DEVICE); if (result) { if (result) { IPA_MPM_ERR("mhi_sync_get failed for probe_id %d\n", IPA_MPM_ERR("mhi_sync_get failed for probe_id %d\n", result, probe_id); result, probe_id); Loading @@ -1479,7 +1480,8 @@ static int ipa_mpm_vote_unvote_pcie_clk(enum ipa_mpm_clk_vote_type vote, *is_acted = true; *is_acted = true; return 0; return 0; } } mhi_device_put(ipa_mpm_ctx->md[probe_id].mhi_dev, MHI_VOTE_BUS); mhi_device_put(ipa_mpm_ctx->md[probe_id].mhi_dev, MHI_VOTE_BUS | MHI_VOTE_DEVICE); IPA_MPM_DBG("probe_id %d PCIE clock off\n", probe_id); IPA_MPM_DBG("probe_id %d PCIE clock off\n", probe_id); atomic_dec(&ipa_mpm_ctx->md[probe_id].clk_cnt.pcie_clk_cnt); atomic_dec(&ipa_mpm_ctx->md[probe_id].clk_cnt.pcie_clk_cnt); atomic_dec(&ipa_mpm_ctx->pcie_clk_total_cnt); atomic_dec(&ipa_mpm_ctx->pcie_clk_total_cnt); Loading Loading
drivers/platform/msm/ipa/ipa_v3/ipa_mpm.c +4 −2 Original line number Original line Diff line number Diff line Loading @@ -1458,7 +1458,8 @@ static int ipa_mpm_vote_unvote_pcie_clk(enum ipa_mpm_clk_vote_type vote, if (vote == CLK_ON) { if (vote == CLK_ON) { result = mhi_device_get_sync( result = mhi_device_get_sync( ipa_mpm_ctx->md[probe_id].mhi_dev, MHI_VOTE_BUS); ipa_mpm_ctx->md[probe_id].mhi_dev, MHI_VOTE_BUS | MHI_VOTE_DEVICE); if (result) { if (result) { IPA_MPM_ERR("mhi_sync_get failed for probe_id %d\n", IPA_MPM_ERR("mhi_sync_get failed for probe_id %d\n", result, probe_id); result, probe_id); Loading @@ -1479,7 +1480,8 @@ static int ipa_mpm_vote_unvote_pcie_clk(enum ipa_mpm_clk_vote_type vote, *is_acted = true; *is_acted = true; return 0; return 0; } } mhi_device_put(ipa_mpm_ctx->md[probe_id].mhi_dev, MHI_VOTE_BUS); mhi_device_put(ipa_mpm_ctx->md[probe_id].mhi_dev, MHI_VOTE_BUS | MHI_VOTE_DEVICE); IPA_MPM_DBG("probe_id %d PCIE clock off\n", probe_id); IPA_MPM_DBG("probe_id %d PCIE clock off\n", probe_id); atomic_dec(&ipa_mpm_ctx->md[probe_id].clk_cnt.pcie_clk_cnt); atomic_dec(&ipa_mpm_ctx->md[probe_id].clk_cnt.pcie_clk_cnt); atomic_dec(&ipa_mpm_ctx->pcie_clk_total_cnt); atomic_dec(&ipa_mpm_ctx->pcie_clk_total_cnt); Loading