Commit 96b9a170 authored by Bjorn Andersson's avatar Bjorn Andersson Committed by Anibal Limon
Browse files

misc: fastrpc: Reference count channel context



The channel context is referenced from the fastrpc user and might as
user space holds the file descriptor open outlive the fastrpc device,
which is removed when the remote processor is shutting down.

Reference count the channel context in order to retain this object until
all references has been relinquished.

Signed-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: default avatarMayank Chopra <mak.chopra@codeaurora.org>
Signed-off-by: default avatarAbhinav Asati <asatiabhi@codeaurora.org>
Signed-off-by: default avatarVamsi Singamsetty <vamssi@codeaurora.org>
Signed-off-by: default avatarSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
parent ae0e1037
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment