mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 05:39:54 -04:00
msm: ipa3: add check in odl pipe cleanup
Adding a change to check whether the pipe has been setup or not before going to teardown the pipe. Change-Id: Ibb408fdf3509facd6c18e3238bdbfd7da0b4a643 Signed-off-by: Jagadeesh Ponduru <quic_jponduru@quicinc.com>
This commit is contained in:
parent
fe3a4ad154
commit
f0f97b4005
1 changed files with 6 additions and 0 deletions
|
|
@ -473,6 +473,12 @@ void ipa3_odl_pipe_cleanup(bool is_ssr)
|
|||
IPAERR("adpl pipe not configured\n");
|
||||
return;
|
||||
}
|
||||
|
||||
if(!ipa3_odl_ctx->odl_state.odl_ep_setup) {
|
||||
IPAERR("adpl pipe setup not done\n");
|
||||
return;
|
||||
}
|
||||
|
||||
if (ipa3_odl_ctx->odl_state.odl_open)
|
||||
ipa_odl_opened = true;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue