diff --git a/drivers/platform/msm/ipa/ipa_v3/ipa_client.c b/drivers/platform/msm/ipa/ipa_v3/ipa_client.c index 4d86f9795948..86864c2647f3 100644 --- a/drivers/platform/msm/ipa/ipa_v3/ipa_client.c +++ b/drivers/platform/msm/ipa/ipa_v3/ipa_client.c @@ -1248,7 +1248,7 @@ static int ipa3_stop_ul_chan_with_data_drain(u32 qmi_req_id, goto exit; } /* if still stop_in_proc or not empty, activate force clear */ - if (should_force_clear) { + if (should_force_clear && IPA_CLIENT_IS_PROD(ep->client)) { result = ipa3_enable_force_clear(qmi_req_id, false, source_pipe_bitmask); if (result) {