Skip to content
Commit 18913d68 authored by Oded Gabbay's avatar Oded Gabbay
Browse files

habanalabs: allow detection of unsupported f/w packets



If we send a packet to the f/w, and that packet is unsupported, we
want to be able to identify this situation and possibly ignore this.

Therefore, if the f/w returned an error, we need to propagate it
to the callers in the result value, if those callers were interested
in it.

In addition, no point of printing the error code here because each
caller prints its own error with a specific message.

Signed-off-by: default avatarOded Gabbay <ogabbay@kernel.org>
parent ea9770e6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment