Commit cb2d8d5b authored by Mathieu Poirier's avatar Mathieu Poirier Committed by Bjorn Andersson

remoteproc: stm32: Fix pointer assignement

Fix the assignment of the @state pointer - it is obviously wrong.
Acked-by: default avatarArnaud Pouliquen <arnaud.pouliquen@st.com>
Fixes: 376ffdc0 ("remoteproc: stm32: Properly set co-processor state when attaching")
Reported-by: default avatarkernel test robot <lkp@intel.com>
Signed-off-by: default avatarMathieu Poirier <mathieu.poirier@linaro.org>
Link: https://lore.kernel.org/r/20200831213758.206690-1-mathieu.poirier@linaro.orgSigned-off-by: default avatarBjorn Andersson <bjorn.andersson@linaro.org>
parent 9a4e6680
......@@ -685,7 +685,7 @@ static int stm32_rproc_get_m4_status(struct stm32_rproc *ddata,
* We couldn't get the coprocessor's state, assume
* it is not running.
*/
state = M4_STATE_OFF;
*state = M4_STATE_OFF;
return 0;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment