msm: ipa3: Send enable force clear only for producer pipe
Enable forceclear only supported for producer pipe so avoid sending the force clear command to consumer pipes. Change-Id: I6c63abe68e737463b0a189bf85a92c79648ea767 Signed-off-by: Ashok Vuyyuru <avuyyuru@codeaurora.org>
This commit is contained in:

committad av
Gerrit - the friendly Code Review server

förälder
d069ef5432
incheckning
b54510f96d
@@ -1200,7 +1200,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, source_pipe_reg_idx);
|
||||
if (result) {
|
||||
|
Referens i nytt ärende
Block a user