misc: fastrpc: Don't reference rpmsg_device after remove
As fastrpc_rpmsg_remove() returns the rpdev of the channel context is no longer a valid object, so ensure to update the channel context to no longer reference the old object and guard in the invoke code path against dereferencing it. Signed-off-by:Bjorn Andersson <bjorn.andersson@linaro.org> Signed-off-by:
Mayank Chopra <mak.chopra@codeaurora.org> Signed-off-by:
Abhinav Asati <asatiabhi@codeaurora.org> Signed-off-by:
Vamsi Singamsetty <vamssi@codeaurora.org> Signed-off-by:
Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Loading
Please sign in to comment