]> git.baikalelectronics.ru Git - kernel.git/commit
remoteproc: stm32: improve debug using dev_err_probe
authorArnaud Pouliquen <arnaud.pouliquen@foss-st.com>
Thu, 17 Dec 2020 14:41:25 +0000 (15:41 +0100)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Thu, 7 Jan 2021 17:24:48 +0000 (11:24 -0600)
commitcf34838d591f1fce426fb7823c2f1890b6d1ccc8
tree2a611bf56dc371a372083b8305a4ef881c5bdfce
parent9e19f44d7f081e4c05d64cfcc412ab1fa43fd2bb
remoteproc: stm32: improve debug using dev_err_probe

When possible use dev_err_probe help to properly deal with the
PROBE_DEFER error.
The benefit is that DEFER issue will be logged in the devices_deferred
debugfs file.

Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@foss-st.com>
Link: https://lore.kernel.org/r/20201217144125.12903-1-arnaud.pouliquen@foss.st.com
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
drivers/remoteproc/stm32_rproc.c