changes for setting default value of client handle in failure case Change-Id: Icc6691d8d8a17b96ffc6541cf6137cae03b23946 Signed-off-by: Avinash Kumar <[email protected]>
@@ -1933,6 +1933,7 @@ fail_wq3:
fail_wq2:
destroy_workqueue(ep->sys->wq);
fail_wq:
+ *clnt_hdl = -1;
kfree(ep->sys);
memset(&ipa3_ctx->ep[ipa_ep_idx], 0, sizeof(struct ipa3_ep_context));
fail_and_disable_clocks: