Re: [PATCH 2/5] misc: fastrpc: Don't reference rpmsg_device after remove

From: Stephen Boyd
Date: Wed Aug 28 2019 - 11:41:26 EST


Quoting Srinivas Kandagatla (2019-08-23 03:06:19)
> From: Bjorn Andersson <bjorn.andersson@xxxxxxxxxx>
>
> 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.
>
> TEST=stop and start remote proc1 using sysfs

Remove this line? Looks like a chromiumism.