commit | 5f5423ffa223a0beb755563beac67f741662870b | [log] [tgz] |
---|---|---|
author | Bjorn Andersson <bjorn.andersson@linaro.org> | Wed Aug 30 16:26:23 2017 -0700 |
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | Wed Aug 30 16:26:23 2017 -0700 |
tree | 2bd2c693ab833bb0b9d86a34b416504ab922da02 | |
parent | 88c6060f5a7f3fc1530b2722d5964945e5174358 [diff] |
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: 44f6df922a26 ("rpmsg: glink: Fix idr_lock from mutex to spinlock") Reported-by: Julia Lawall <julia.lawall@lip6.fr> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>