mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-03-17 20:54:10 +00:00
remoteproc: stm32: Fix pointer assignement
Fix the assignment of the @state pointer - it is obviously wrong.
Acked-by: Arnaud Pouliquen <arnaud.pouliquen@st.com>
Fixes: 376ffdc044
("remoteproc: stm32: Properly set co-processor state when attaching")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Link: https://lore.kernel.org/r/20200831213758.206690-1-mathieu.poirier@linaro.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
This commit is contained in:
parent
9a4e66802e
commit
cb2d8d5b19
1 changed files with 1 additions and 1 deletions
|
@ -685,7 +685,7 @@ static int stm32_rproc_get_m4_status(struct stm32_rproc *ddata,
|
||||||
* We couldn't get the coprocessor's state, assume
|
* We couldn't get the coprocessor's state, assume
|
||||||
* it is not running.
|
* it is not running.
|
||||||
*/
|
*/
|
||||||
state = M4_STATE_OFF;
|
*state = M4_STATE_OFF;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue