diff options
author | Sricharan R <sricharan@codeaurora.org> | 2017-08-24 12:51:29 +0530 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2017-08-29 14:29:33 -0700 |
commit | 76cf11051446b4778e539536bbc4810a44be96d9 (patch) | |
tree | a1b60416f5cfdb835c48c37927445060d8dd5fe8 /drivers/rpmsg | |
parent | a7df9dfcfdfc7d7a0537405d4069accf51f56e49 (diff) | |
download | linux-stable-76cf11051446b4778e539536bbc4810a44be96d9.tar.gz linux-stable-76cf11051446b4778e539536bbc4810a44be96d9.tar.bz2 linux-stable-76cf11051446b4778e539536bbc4810a44be96d9.zip |
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>
Diffstat (limited to 'drivers/rpmsg')
-rw-r--r-- | drivers/rpmsg/qcom_glink_native.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/rpmsg/qcom_glink_native.c b/drivers/rpmsg/qcom_glink_native.c index 94b79e8d8d44..21adde34725b 100644 --- a/drivers/rpmsg/qcom_glink_native.c +++ b/drivers/rpmsg/qcom_glink_native.c @@ -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); } |