soc: qcom: glink: fix channel context ref count updates
The logic for updating reference counts for the local channel is
backwards resulting in a NULL-pointer deference in the case that the
local channel does not exist and in a wrong reference count increment in
the case that the local channel does exist.
Fix the ref count updates to update the correct variables.
Change-Id: Ib10884362aaa22bdc9781c8cc82762afcf8d9010
Signed-off-by:
Eric Holmberg <eholmber@codeaurora.org>
Loading
Please register or sign in to comment