diff options
author | Tinghan Shen <tinghan.shen@mediatek.com> | 2023-09-01 10:09:34 +0200 |
---|---|---|
committer | Mathieu Poirier <mathieu.poirier@linaro.org> | 2023-09-13 19:46:31 +0200 |
commit | d1a8ac11ee72c192611b0cae98ad6304314f9ae7 (patch) | |
tree | b37f2b9f10fc8bc273f4208672b72aece4772087 /drivers/remoteproc | |
parent | remoteproc: mediatek: Report watchdog crash to all cores (diff) | |
download | linux-d1a8ac11ee72c192611b0cae98ad6304314f9ae7.tar.xz linux-d1a8ac11ee72c192611b0cae98ad6304314f9ae7.zip |
remoteproc: mediatek: Refine ipi handler error message
The error message doesn't accurately reflect the cause of
the error. The error is due to a handler not being found,
not an invalid IPI ID.
Signed-off-by: Tinghan Shen <tinghan.shen@mediatek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Tested-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20230901080935.14571-14-tinghan.shen@mediatek.com
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Diffstat (limited to 'drivers/remoteproc')
-rw-r--r-- | drivers/remoteproc/mtk_scp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/remoteproc/mtk_scp.c b/drivers/remoteproc/mtk_scp.c index a28c9b017f3a..ea227b566c54 100644 --- a/drivers/remoteproc/mtk_scp.c +++ b/drivers/remoteproc/mtk_scp.c @@ -112,7 +112,7 @@ static void scp_ipi_handler(struct mtk_scp *scp) scp_ipi_lock(scp, id); handler = ipi_desc[id].handler; if (!handler) { - dev_err(scp->dev, "No such ipi id = %d\n", id); + dev_err(scp->dev, "No handler for ipi id = %d\n", id); scp_ipi_unlock(scp, id); return; } |