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

Commit cb2fc331 authored by Eric Holmberg's avatar Eric Holmberg
Browse files

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: default avatarEric Holmberg <eholmber@codeaurora.org>
parent 073af1cb
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