mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 21:22:09 -04:00
Merge "msm: ipa3: add rmnet_ctl enablement check"
This commit is contained in:
commit
3cb33329d4
1 changed files with 15 additions and 12 deletions
|
|
@ -1571,13 +1571,14 @@ static int handle3_ingress_format(struct net_device *dev,
|
|||
}
|
||||
IPAWANDBG("ingress WAN pipe setup successfully\n");
|
||||
|
||||
ret = ipa3_setup_apps_low_lat_cons_pipe();
|
||||
if (ret)
|
||||
goto low_lat_fail;
|
||||
if (ipa3_ctx->rmnet_ctl_enable) {
|
||||
ret = ipa3_setup_apps_low_lat_cons_pipe();
|
||||
if (ret)
|
||||
goto low_lat_fail;
|
||||
|
||||
ingress_eps_mask |= IPA_AP_INGRESS_EP_LOW_LAT;
|
||||
|
||||
IPAWANDBG("ingress low latency pipe setup successfully\n");
|
||||
ingress_eps_mask |= IPA_AP_INGRESS_EP_LOW_LAT;
|
||||
IPAWANDBG("ingress low latency pipe setup successfully\n");
|
||||
}
|
||||
|
||||
low_lat_fail:
|
||||
mutex_unlock(&rmnet_ipa3_ctx->pipe_handle_guard);
|
||||
|
|
@ -1698,13 +1699,15 @@ static int handle3_egress_format(struct net_device *dev,
|
|||
return rc;
|
||||
}
|
||||
IPAWANDBG("engress WAN pipe setup successfully\n");
|
||||
rc = ipa3_setup_apps_low_lat_prod_pipe();
|
||||
if (rc) {
|
||||
IPAWANERR("failed to setup egress low lat endpoint\n");
|
||||
mutex_unlock(&rmnet_ipa3_ctx->pipe_handle_guard);
|
||||
goto low_lat_fail;
|
||||
if (ipa3_ctx->rmnet_ctl_enable) {
|
||||
rc = ipa3_setup_apps_low_lat_prod_pipe();
|
||||
if (rc) {
|
||||
IPAWANERR("failed to setup egress low lat endpoint\n");
|
||||
mutex_unlock(&rmnet_ipa3_ctx->pipe_handle_guard);
|
||||
goto low_lat_fail;
|
||||
}
|
||||
IPAWANDBG("engress low lat pipe setup successfully\n");
|
||||
}
|
||||
IPAWANDBG("engress low lat pipe setup successfully\n");
|
||||
mutex_unlock(&rmnet_ipa3_ctx->pipe_handle_guard);
|
||||
|
||||
low_lat_fail:
|
||||
|
|
|
|||
Loading…
Reference in a new issue