remoteproc: stm32: Fix error code in stm32_rproc_parse_dt()
authorDan Carpenter <dan.carpenter@linaro.org>
Mon, 22 May 2023 07:46:11 +0000 (10:46 +0300)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Tue, 23 May 2023 19:50:48 +0000 (13:50 -0600)
commit1ca04f21b204e99dd704146231adfb79ea2fb366
tree8214edc79b5c33dda6f4ebe2462ad5ad85d5c39d
parentde598695a2adc2affe7ce2e8787b5c01ce3aa661
remoteproc: stm32: Fix error code in stm32_rproc_parse_dt()

There is a cut and paste bug so this code was returning the wrong
variable.  It should have been "ddata->hold_boot_rst" instead of
"ddata->rst".

Fixes: de598695a2ad ("remoteproc: stm32: Allow hold boot management by the SCMI reset controller")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: Arnaud Pouliquen <arnaud.pouliquen@foss.st.com>
Link: https://lore.kernel.org/r/6f457246-6446-42cb-81ae-d37221d726b1@kili.mountain
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
drivers/remoteproc/stm32_rproc.c