Loading drivers/platform/msm/ipa/ipa_v3/ipa_dp.c +9 −5 Original line number Diff line number Diff line Loading @@ -211,6 +211,7 @@ static void ipa3_tx_switch_to_intr_mode(struct ipa3_sys_context *sys) } if (ipa3_ctx->transport_prototype == IPA_TRANSPORT_TYPE_GSI) { atomic_set(&sys->curr_polling_state, 0); ret = gsi_config_channel_mode(sys->ep->gsi_chan_hdl, GSI_CHAN_MODE_CALLBACK); if (ret != GSI_STATUS_SUCCESS) { Loading @@ -236,9 +237,10 @@ static void ipa3_tx_switch_to_intr_mode(struct ipa3_sys_context *sys) IPAERR("sps_set_config() failed %d\n", ret); goto fail; } } atomic_set(&sys->curr_polling_state, 0); ipa3_handle_tx_core(sys, true, false); } return; fail: Loading Loading @@ -849,6 +851,7 @@ static void ipa3_rx_switch_to_intr_mode(struct ipa3_sys_context *sys) } if (ipa3_ctx->transport_prototype == IPA_TRANSPORT_TYPE_GSI) { atomic_set(&sys->curr_polling_state, 0); ret = gsi_config_channel_mode(sys->ep->gsi_chan_hdl, GSI_CHAN_MODE_CALLBACK); if (ret != GSI_STATUS_SUCCESS) { Loading @@ -874,9 +877,10 @@ static void ipa3_rx_switch_to_intr_mode(struct ipa3_sys_context *sys) IPAERR("sps_set_config() failed %d\n", ret); goto fail; } } atomic_set(&sys->curr_polling_state, 0); ipa3_handle_rx_core(sys, true, false); } return; fail: Loading Loading @@ -1704,6 +1708,7 @@ static void ipa3_replenish_wlan_rx_cache(struct ipa3_sys_context *sys) rx_pkt->len = 0; rx_pkt->sys = sys; list_add_tail(&rx_pkt->link, &sys->head_desc_list); if (ipa3_ctx->transport_prototype == IPA_TRANSPORT_TYPE_GSI) { memset(&gsi_xfer_elem_one, 0, Loading @@ -1727,7 +1732,6 @@ static void ipa3_replenish_wlan_rx_cache(struct ipa3_sys_context *sys) goto fail_provide_rx_buffer; } list_add_tail(&rx_pkt->link, &sys->head_desc_list); rx_len_cached = ++sys->len; if (rx_len_cached >= sys->rx_pool_sz) { Loading Loading
drivers/platform/msm/ipa/ipa_v3/ipa_dp.c +9 −5 Original line number Diff line number Diff line Loading @@ -211,6 +211,7 @@ static void ipa3_tx_switch_to_intr_mode(struct ipa3_sys_context *sys) } if (ipa3_ctx->transport_prototype == IPA_TRANSPORT_TYPE_GSI) { atomic_set(&sys->curr_polling_state, 0); ret = gsi_config_channel_mode(sys->ep->gsi_chan_hdl, GSI_CHAN_MODE_CALLBACK); if (ret != GSI_STATUS_SUCCESS) { Loading @@ -236,9 +237,10 @@ static void ipa3_tx_switch_to_intr_mode(struct ipa3_sys_context *sys) IPAERR("sps_set_config() failed %d\n", ret); goto fail; } } atomic_set(&sys->curr_polling_state, 0); ipa3_handle_tx_core(sys, true, false); } return; fail: Loading Loading @@ -849,6 +851,7 @@ static void ipa3_rx_switch_to_intr_mode(struct ipa3_sys_context *sys) } if (ipa3_ctx->transport_prototype == IPA_TRANSPORT_TYPE_GSI) { atomic_set(&sys->curr_polling_state, 0); ret = gsi_config_channel_mode(sys->ep->gsi_chan_hdl, GSI_CHAN_MODE_CALLBACK); if (ret != GSI_STATUS_SUCCESS) { Loading @@ -874,9 +877,10 @@ static void ipa3_rx_switch_to_intr_mode(struct ipa3_sys_context *sys) IPAERR("sps_set_config() failed %d\n", ret); goto fail; } } atomic_set(&sys->curr_polling_state, 0); ipa3_handle_rx_core(sys, true, false); } return; fail: Loading Loading @@ -1704,6 +1708,7 @@ static void ipa3_replenish_wlan_rx_cache(struct ipa3_sys_context *sys) rx_pkt->len = 0; rx_pkt->sys = sys; list_add_tail(&rx_pkt->link, &sys->head_desc_list); if (ipa3_ctx->transport_prototype == IPA_TRANSPORT_TYPE_GSI) { memset(&gsi_xfer_elem_one, 0, Loading @@ -1727,7 +1732,6 @@ static void ipa3_replenish_wlan_rx_cache(struct ipa3_sys_context *sys) goto fail_provide_rx_buffer; } list_add_tail(&rx_pkt->link, &sys->head_desc_list); rx_len_cached = ++sys->len; if (rx_len_cached >= sys->rx_pool_sz) { Loading