Re: [PATCH 1/5] misc: fastrpc: Reference count channel context

From: Greg KH
Date: Wed Aug 28 2019 - 16:53:46 EST


On Fri, Aug 23, 2019 at 11:06:18AM +0100, Srinivas Kandagatla wrote:
> From: Bjorn Andersson <bjorn.andersson@xxxxxxxxxx>
>
> 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.
>
> TEST=stop and start remote proc1 using sysfs

What is this for?

Please fix up the series and resend so that I do not have to hand-edit
the changelog text.

thanks,

greg k-h