Clear the transport flags field before starting new transfer. The current SDK SCP is not affected by this in any way, but it is better to clear the field to be correct.
Signed-off-by: Marek Vasut <[email protected]> --- Cc: Nobuhiro Iwamatsu <[email protected]> Cc: Tom Rini <[email protected]> Cc: [email protected] --- drivers/remoteproc/renesas_rsip.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/remoteproc/renesas_rsip.c b/drivers/remoteproc/renesas_rsip.c index 76ccaf93b1a..68b775e5f82 100644 --- a/drivers/remoteproc/renesas_rsip.c +++ b/drivers/remoteproc/renesas_rsip.c @@ -116,6 +116,7 @@ static void scp_cpu_core_start(const u32 core, const u32 ep) /* Wait for SCP to be free, then set it busy */ scp_wait_fw_free(); shmem->status &= ~SCP_SCMI_STATUS_FREE; + shmem->flags = 0; /* Set up the message and copy it to SHMEM */ shmem->message_header = SCMI_PD_POWER_STATE_SET_BOOTADDR; -- 2.53.0
