Skip to content

Commit

Permalink
rpmsg: glink: Do a mbox_free_channel in remove
Browse files Browse the repository at this point in the history
mbox_request_channel is done in probe, so free the channel in remove.

Acked-by: Arun Kumar Neelakantam <[email protected]>
Signed-off-by: Sricharan R <[email protected]>
Signed-off-by: Bjorn Andersson <[email protected]>
  • Loading branch information
Sricharan R authored and andersson committed Aug 29, 2017
1 parent a7df9df commit 76cf110
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/rpmsg/qcom_glink_native.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

0 comments on commit 76cf110

Please sign in to comment.