RE: [PATCH 01/13] remoteproc: Re-check state in rproc_shutdown()

2020-10-14 Thread Peng Fan
> Subject: [PATCH 01/13] remoteproc: Re-check state in rproc_shutdown() > > The state of the remote processor may have changed between the time a call > to rproc_shutdown() was made and the time it is executed. To avoid moving > forward with an operation that may have been can

[PATCH 01/13] remoteproc: Re-check state in rproc_shutdown()

2020-08-26 Thread Mathieu Poirier
The state of the remote processor may have changed between the time a call to rproc_shutdown() was made and the time it is executed. To avoid moving forward with an operation that may have been cancelled, recheck while holding the mutex. Cc: Signed-off-by: Mathieu Poirier ---