Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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: 376ffdc04456 ("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>

authored by

Mathieu Poirier and committed by
Bjorn Andersson
cb2d8d5b 9a4e6680

+1 -1
+1 -1
drivers/remoteproc/stm32_rproc.c
··· 685 685 * We couldn't get the coprocessor's state, assume 686 686 * it is not running. 687 687 */ 688 - state = M4_STATE_OFF; 688 + *state = M4_STATE_OFF; 689 689 return 0; 690 690 } 691 691