mirror of
https://github.com/torvalds/linux.git
synced 2026-05-24 15:12:13 +02:00
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>
This commit is contained in:
parent
b0cdc6a4df
commit
d1a8ac11ee
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user