Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cf41f3e0 authored by Yong Ding's avatar Yong Ding
Browse files

soc: qcom: hab: refine hab virtual channel's resource free



Whenever a vchan is locally closed in hab_vchan_close or hab_free,
4 actions should be taken immediately, including,
 - remove it from the local hab context
 - mark its local closed flag
 - notify remote side and unblock local blocking calls over it
 - decrease the refcnt on the vchan

Change-Id: I3fbde9464f6405b6dadac248768a5fd857a29128
Signed-off-by: default avatarYong Ding <yongding@codeaurora.org>
parent 67b38b04
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment