Loading drivers/platform/msm/ipa/ipa_v3/ipa_client.c +15 −2 Original line number Diff line number Diff line Loading @@ -1058,8 +1058,21 @@ static int ipa3_stop_ul_chan_with_data_drain(u32 qmi_req_id, if (should_force_clear) { result = ipa3_enable_force_clear(qmi_req_id, false, source_pipe_bitmask); if (result) goto exit; if (result) { struct ipahal_ep_cfg_ctrl_scnd ep_ctrl_scnd = { 0 }; /* * assuming here modem SSR\shutdown, AP can remove * the delay in this case */ IPAERR( "failed to force clear %d, remove delay from SCND reg\n" , result); ep_ctrl_scnd.endp_delay = false; ipahal_write_reg_n_fields( IPA_ENDP_INIT_CTRL_SCND_n, clnt_hdl, &ep_ctrl_scnd); } } /* with force clear, wait for emptiness */ for (i = 0; i < IPA_POLL_FOR_EMPTINESS_NUM; i++) { Loading Loading
drivers/platform/msm/ipa/ipa_v3/ipa_client.c +15 −2 Original line number Diff line number Diff line Loading @@ -1058,8 +1058,21 @@ static int ipa3_stop_ul_chan_with_data_drain(u32 qmi_req_id, if (should_force_clear) { result = ipa3_enable_force_clear(qmi_req_id, false, source_pipe_bitmask); if (result) goto exit; if (result) { struct ipahal_ep_cfg_ctrl_scnd ep_ctrl_scnd = { 0 }; /* * assuming here modem SSR\shutdown, AP can remove * the delay in this case */ IPAERR( "failed to force clear %d, remove delay from SCND reg\n" , result); ep_ctrl_scnd.endp_delay = false; ipahal_write_reg_n_fields( IPA_ENDP_INIT_CTRL_SCND_n, clnt_hdl, &ep_ctrl_scnd); } } /* with force clear, wait for emptiness */ for (i = 0; i < IPA_POLL_FOR_EMPTINESS_NUM; i++) { Loading