summaryrefslogtreecommitdiff
path: root/drivers/remoteproc/ti_sci_proc.h
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2023-11-24 00:17:00 +0300
committerMathieu Poirier <mathieu.poirier@linaro.org>2023-11-30 19:40:37 +0300
commitcfd0b5c4fd1d23d1c68f704dcd74c1dbdfd7c144 (patch)
treecfa0130dd17a671bc1dad7b1110afd8841146f71 /drivers/remoteproc/ti_sci_proc.h
parentbddae3e7ae70586b3805fdbce193760f13b4d73e (diff)
downloadlinux-cfd0b5c4fd1d23d1c68f704dcd74c1dbdfd7c144.tar.xz
remoteproc: k3-dsp: Use symbolic error codes in error messages
The error message failed to send mailbox message (-EINVAL) is (for a human) more useful than failed to send mailbox message, status = -22 Adapt all error messages to use the symbolic names instead of the numeric constants. The error paths in .probe() make use of dev_err_probe() which automatically handles EPROBE_DEFER. Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Link: https://lore.kernel.org/r/20231123211657.518181-7-u.kleine-koenig@pengutronix.de> Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Diffstat (limited to 'drivers/remoteproc/ti_sci_proc.h')
0 files changed, 0 insertions, 0 deletions