Commit 76cf1105 authored by Sricharan R's avatar Sricharan R Committed by Bjorn Andersson

rpmsg: glink: Do a mbox_free_channel in remove

mbox_request_channel is done in probe, so free the channel in remove.
Acked-by: default avatarArun Kumar Neelakantam <aneela@codeaurora.org>
Signed-off-by: default avatarSricharan R <sricharan@codeaurora.org>
Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
parent a7df9dfc
...@@ -1008,4 +1008,5 @@ void qcom_glink_native_remove(struct qcom_glink *glink) ...@@ -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);
} }
Markdown is supported
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