Loading drivers/platform/msm/ipa/ipa_v3/ipa_odl.c +5 −2 Original line number Diff line number Diff line /* Copyright (c) 2018, The Linux Foundation. All rights reserved. /* Copyright (c) 2018-2019, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and Loading Loading @@ -371,7 +371,8 @@ static int ipa_adpl_open(struct inode *inode, struct file *filp) int ret = 0; IPADBG("Called the function :\n"); if (ipa3_odl_ctx->odl_state.odl_init) { if (ipa3_odl_ctx->odl_state.odl_init && !ipa3_odl_ctx->odl_state.adpl_open) { ipa3_odl_ctx->odl_state.adpl_open = true; ret = ipa3_odl_pipe_open(); } else { Loading Loading @@ -419,6 +420,8 @@ void ipa3_odl_pipe_cleanup(bool is_ssr) /*Assume DIAG will not close this node in SSR case*/ if (is_ssr) ipa3_odl_ctx->odl_state.adpl_open = true; else ipa3_odl_ctx->odl_state.adpl_open = false; ipa3_odl_ctx->odl_state.odl_disconnected = true; ipa3_odl_ctx->odl_state.odl_ep_setup = false; Loading Loading
drivers/platform/msm/ipa/ipa_v3/ipa_odl.c +5 −2 Original line number Diff line number Diff line /* Copyright (c) 2018, The Linux Foundation. All rights reserved. /* Copyright (c) 2018-2019, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and Loading Loading @@ -371,7 +371,8 @@ static int ipa_adpl_open(struct inode *inode, struct file *filp) int ret = 0; IPADBG("Called the function :\n"); if (ipa3_odl_ctx->odl_state.odl_init) { if (ipa3_odl_ctx->odl_state.odl_init && !ipa3_odl_ctx->odl_state.adpl_open) { ipa3_odl_ctx->odl_state.adpl_open = true; ret = ipa3_odl_pipe_open(); } else { Loading Loading @@ -419,6 +420,8 @@ void ipa3_odl_pipe_cleanup(bool is_ssr) /*Assume DIAG will not close this node in SSR case*/ if (is_ssr) ipa3_odl_ctx->odl_state.adpl_open = true; else ipa3_odl_ctx->odl_state.adpl_open = false; ipa3_odl_ctx->odl_state.odl_disconnected = true; ipa3_odl_ctx->odl_state.odl_ep_setup = false; Loading