aboutsummaryrefslogtreecommitdiff
path: root/kernel/ethosu_mailbox.h
diff options
context:
space:
mode:
authorDavide Grohmann <davide.grohmann@arm.com>2022-04-07 16:58:32 +0200
committerDavide Grohmann <davide.grohmann@arm.com>2022-05-09 09:38:51 +0200
commit8b1fe55bf4788ac85a0d8f9059ca0305904ddc5d (patch)
tree248f62319537bd4daecb62db44171b533d7a4ffe /kernel/ethosu_mailbox.h
parent7e8f508765632c42cc44fd8ad704c9d90943ab32 (diff)
downloadethos-u-linux-driver-stack-8b1fe55bf4788ac85a0d8f9059ca0305904ddc5d.tar.gz
Reset firmware when inference cancellation fails22.05-rc1
If an inference fails to be cancelled and it is still in a pending state, reset the whole firmware. Indeed the assumption is that something is at fault on the firmware side and it is not progressing. Change-Id: I2f568b2167d86cda3cb96a5e83551b018f5fc55d
Diffstat (limited to 'kernel/ethosu_mailbox.h')
-rw-r--r--kernel/ethosu_mailbox.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/ethosu_mailbox.h b/kernel/ethosu_mailbox.h
index 7af0c47..07276f6 100644
--- a/kernel/ethosu_mailbox.h
+++ b/kernel/ethosu_mailbox.h
@@ -138,9 +138,8 @@ void ethosu_mailbox_fail(struct ethosu_mailbox *mbox);
*
* Call resend() callback on all messages in pending list.
*
- * Return: 0 on success, else error code.
*/
-int ethosu_mailbox_resend(struct ethosu_mailbox *mbox);
+void ethosu_mailbox_resend(struct ethosu_mailbox *mbox);
/**
* ethosu_mailbox_reset() - Reset to end of queue