Loading drivers/platform/msm/ipa/ipa_v3/rmnet_ipa.c +16 −10 Original line number Diff line number Diff line Loading @@ -2147,20 +2147,26 @@ int ipa3_wwan_set_modem_state(struct wan_ioctl_notify_wan_state *state) return -EINVAL; if (state->up) { if (rmnet_ipa3_ctx->ipa_config_is_apq) { bw_mbps = 5200; ret = ipa3_vote_for_bus_bw(&bw_mbps); if (ret) { IPAERR("Failed to vote for bus BW (%u)\n", bw_mbps); IPAERR("Failed to vote for bus BW (%u)\n", bw_mbps); return ret; } } ret = ipa_pm_activate_sync(rmnet_ipa3_ctx->q6_teth_pm_hdl); } else { if (rmnet_ipa3_ctx->ipa_config_is_apq) { bw_mbps = 0; ret = ipa3_vote_for_bus_bw(&bw_mbps); if (ret) { IPAERR("Failed to vote for bus BW (%u)\n", bw_mbps); IPAERR("Failed to vote for bus BW (%u)\n", bw_mbps); return ret; } } ret = ipa_pm_deactivate_sync(rmnet_ipa3_ctx->q6_teth_pm_hdl); } return ret; Loading drivers/platform/msm/ipa/ipa_v3/teth_bridge.c +4 −3 Original line number Diff line number Diff line Loading @@ -178,7 +178,8 @@ int ipa3_teth_bridge_connect(struct teth_bridge_connect_params *connect_params) TETH_ERR("fail to register with PM %d\n", res); return res; } /* vote for turbo */ /* vote for turbo in case of MHIP channels*/ if (ipa3_is_apq()) res = ipa_pm_set_throughput(ipa3_teth_ctx->modem_pm_hdl, 5200); res = ipa_pm_activate_sync(ipa3_teth_ctx->modem_pm_hdl); Loading Loading
drivers/platform/msm/ipa/ipa_v3/rmnet_ipa.c +16 −10 Original line number Diff line number Diff line Loading @@ -2147,20 +2147,26 @@ int ipa3_wwan_set_modem_state(struct wan_ioctl_notify_wan_state *state) return -EINVAL; if (state->up) { if (rmnet_ipa3_ctx->ipa_config_is_apq) { bw_mbps = 5200; ret = ipa3_vote_for_bus_bw(&bw_mbps); if (ret) { IPAERR("Failed to vote for bus BW (%u)\n", bw_mbps); IPAERR("Failed to vote for bus BW (%u)\n", bw_mbps); return ret; } } ret = ipa_pm_activate_sync(rmnet_ipa3_ctx->q6_teth_pm_hdl); } else { if (rmnet_ipa3_ctx->ipa_config_is_apq) { bw_mbps = 0; ret = ipa3_vote_for_bus_bw(&bw_mbps); if (ret) { IPAERR("Failed to vote for bus BW (%u)\n", bw_mbps); IPAERR("Failed to vote for bus BW (%u)\n", bw_mbps); return ret; } } ret = ipa_pm_deactivate_sync(rmnet_ipa3_ctx->q6_teth_pm_hdl); } return ret; Loading
drivers/platform/msm/ipa/ipa_v3/teth_bridge.c +4 −3 Original line number Diff line number Diff line Loading @@ -178,7 +178,8 @@ int ipa3_teth_bridge_connect(struct teth_bridge_connect_params *connect_params) TETH_ERR("fail to register with PM %d\n", res); return res; } /* vote for turbo */ /* vote for turbo in case of MHIP channels*/ if (ipa3_is_apq()) res = ipa_pm_set_throughput(ipa3_teth_ctx->modem_pm_hdl, 5200); res = ipa_pm_activate_sync(ipa3_teth_ctx->modem_pm_hdl); Loading