Merge "msm: ipa5: check if the default channel is already tore down"

Cette révision appartient à :
qctecmdr
2021-04-28 19:52:18 -07:00
révisé par Gerrit - the friendly Code Review server
révision 53ed770d59

Voir le fichier

@@ -1614,10 +1614,15 @@ int ipa3_teardown_sys_pipe(u32 clnt_hdl)
return i;
}
result = ipa3_teardown_coal_def_pipe(i);
if (result) {
IPAERR("failed to teardown default coal pipe\n");
return result;
/* If the default channel is already torn down,
* resetting only coalescing channel.
*/
if (ipa3_ctx->ep[i].valid) {
result = ipa3_teardown_coal_def_pipe(i);
if (result) {
IPAERR("failed to teardown default coal pipe\n");
return result;
}
}
}