Merge "msm: ipa3: Send enable force clear only for producer pipe"

This commit is contained in:
qctecmdr 2020-12-23 22:24:01 -08:00 committed by Gerrit - the friendly Code Review server
commit 14eb5b34ad

View File

@ -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) {