Loading drivers/platform/msm/ipa/ipa_clients/ipa_mhi_client.c +8 −3 Original line number Diff line number Diff line Loading @@ -2027,6 +2027,8 @@ static void ipa_mhi_update_host_ch_state(bool update_rp) ipa_assert(); return; } IPA_MHI_DBG("Updated UL CH=%d state to %s on host\n", i, MHI_CH_STATE_STR(channel->state)); } for (i = 0; i < IPA_MHI_MAX_DL_CHANNELS; i++) { Loading Loading @@ -2062,7 +2064,10 @@ static void ipa_mhi_update_host_ch_state(bool update_rp) if (res) { IPA_MHI_ERR("ipa_mhi_read_write_host failed\n"); ipa_assert(); return; } IPA_MHI_DBG("Updated DL CH=%d state to %s on host\n", i, MHI_CH_STATE_STR(channel->state)); } } Loading Loading @@ -2096,9 +2101,6 @@ static int ipa_mhi_suspend_dl(bool force) } } if (ipa_get_transport_type() == IPA_TRANSPORT_TYPE_GSI) ipa_mhi_update_host_ch_state(true); return 0; fail_stop_event_update_dl_channel: Loading Loading @@ -2151,6 +2153,9 @@ int ipa_mhi_suspend(bool force) goto fail_suspend_ul_channel; } if (ipa_get_transport_type() == IPA_TRANSPORT_TYPE_GSI) ipa_mhi_update_host_ch_state(true); /* * hold IPA clocks and release them after all * IPA RM resource are released to make sure tag process will not start Loading drivers/platform/msm/ipa/ipa_v3/ipa_qmi_service.c +12 −0 Original line number Diff line number Diff line Loading @@ -849,6 +849,12 @@ int ipa3_qmi_enable_force_clear_datapath_send( return -EINVAL; } if (ipa3_ctx->ipa3_hw_mode == IPA_HW_MODE_VIRTUAL || ipa3_ctx->ipa3_hw_mode == IPA_HW_MODE_EMULATION) { IPAWANDBG("Simulating success on emu/virt mode\n"); return 0; } req_desc.max_msg_len = QMI_IPA_ENABLE_FORCE_CLEAR_DATAPATH_REQ_MAX_MSG_LEN_V01; req_desc.msg_id = QMI_IPA_ENABLE_FORCE_CLEAR_DATAPATH_REQ_V01; Loading Loading @@ -898,6 +904,12 @@ int ipa3_qmi_disable_force_clear_datapath_send( return -EINVAL; } if (ipa3_ctx->ipa3_hw_mode == IPA_HW_MODE_VIRTUAL || ipa3_ctx->ipa3_hw_mode == IPA_HW_MODE_EMULATION) { IPAWANDBG("Simulating success on emu/virt mode\n"); return 0; } req_desc.max_msg_len = QMI_IPA_DISABLE_FORCE_CLEAR_DATAPATH_REQ_MAX_MSG_LEN_V01; req_desc.msg_id = QMI_IPA_DISABLE_FORCE_CLEAR_DATAPATH_REQ_V01; Loading Loading
drivers/platform/msm/ipa/ipa_clients/ipa_mhi_client.c +8 −3 Original line number Diff line number Diff line Loading @@ -2027,6 +2027,8 @@ static void ipa_mhi_update_host_ch_state(bool update_rp) ipa_assert(); return; } IPA_MHI_DBG("Updated UL CH=%d state to %s on host\n", i, MHI_CH_STATE_STR(channel->state)); } for (i = 0; i < IPA_MHI_MAX_DL_CHANNELS; i++) { Loading Loading @@ -2062,7 +2064,10 @@ static void ipa_mhi_update_host_ch_state(bool update_rp) if (res) { IPA_MHI_ERR("ipa_mhi_read_write_host failed\n"); ipa_assert(); return; } IPA_MHI_DBG("Updated DL CH=%d state to %s on host\n", i, MHI_CH_STATE_STR(channel->state)); } } Loading Loading @@ -2096,9 +2101,6 @@ static int ipa_mhi_suspend_dl(bool force) } } if (ipa_get_transport_type() == IPA_TRANSPORT_TYPE_GSI) ipa_mhi_update_host_ch_state(true); return 0; fail_stop_event_update_dl_channel: Loading Loading @@ -2151,6 +2153,9 @@ int ipa_mhi_suspend(bool force) goto fail_suspend_ul_channel; } if (ipa_get_transport_type() == IPA_TRANSPORT_TYPE_GSI) ipa_mhi_update_host_ch_state(true); /* * hold IPA clocks and release them after all * IPA RM resource are released to make sure tag process will not start Loading
drivers/platform/msm/ipa/ipa_v3/ipa_qmi_service.c +12 −0 Original line number Diff line number Diff line Loading @@ -849,6 +849,12 @@ int ipa3_qmi_enable_force_clear_datapath_send( return -EINVAL; } if (ipa3_ctx->ipa3_hw_mode == IPA_HW_MODE_VIRTUAL || ipa3_ctx->ipa3_hw_mode == IPA_HW_MODE_EMULATION) { IPAWANDBG("Simulating success on emu/virt mode\n"); return 0; } req_desc.max_msg_len = QMI_IPA_ENABLE_FORCE_CLEAR_DATAPATH_REQ_MAX_MSG_LEN_V01; req_desc.msg_id = QMI_IPA_ENABLE_FORCE_CLEAR_DATAPATH_REQ_V01; Loading Loading @@ -898,6 +904,12 @@ int ipa3_qmi_disable_force_clear_datapath_send( return -EINVAL; } if (ipa3_ctx->ipa3_hw_mode == IPA_HW_MODE_VIRTUAL || ipa3_ctx->ipa3_hw_mode == IPA_HW_MODE_EMULATION) { IPAWANDBG("Simulating success on emu/virt mode\n"); return 0; } req_desc.max_msg_len = QMI_IPA_DISABLE_FORCE_CLEAR_DATAPATH_REQ_MAX_MSG_LEN_V01; req_desc.msg_id = QMI_IPA_DISABLE_FORCE_CLEAR_DATAPATH_REQ_V01; Loading