1
0
Fork 0

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>
zero-colors
Sricharan R 2017-08-24 12:51:29 +05:30 committed by Bjorn Andersson
parent a7df9dfcfd
commit 76cf110514
1 changed files with 1 additions and 0 deletions

View File

@ -1008,4 +1008,5 @@ void qcom_glink_native_remove(struct qcom_glink *glink)
idr_destroy(&glink->lcids);
idr_destroy(&glink->rcids);
mbox_free_channel(glink->mbox_chan);
}