mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-02 15:18:19 +00:00
rpmsg: glink: Do a mbox_free_channel in remove
mbox_request_channel is done in probe, so free the channel in remove. Acked-by: Arun Kumar Neelakantam <aneela@codeaurora.org> Signed-off-by: Sricharan R <sricharan@codeaurora.org> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
This commit is contained in:
parent
a7df9dfcfd
commit
76cf110514
1 changed files with 1 additions and 0 deletions
|
@ -1008,4 +1008,5 @@ void qcom_glink_native_remove(struct qcom_glink *glink)
|
||||||
|
|
||||||
idr_destroy(&glink->lcids);
|
idr_destroy(&glink->lcids);
|
||||||
idr_destroy(&glink->rcids);
|
idr_destroy(&glink->rcids);
|
||||||
|
mbox_free_channel(glink->mbox_chan);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue