Skip to content
Commit 5f5423ff authored by Bjorn Andersson's avatar Bjorn Andersson
Browse files

rpmsg: glink: Release idr lock before returning on error

The idr_lock should be released in the case that we don't find the given
channel.

Fixes: 44f6df92

 ("rpmsg: glink: Fix idr_lock from mutex to spinlock")
Reported-by: default avatarJulia Lawall <julia.lawall@lip6.fr>
Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
parent 88c6060f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment