Skip to content
Commit 04729b41 authored by Moti Haimovski's avatar Moti Haimovski Committed by Oded Gabbay
Browse files

accel/habanalabs: call to HW/FW err returns 0 when no events exist



This commit modifies the call to retrieve HW or FW error events to
return success when no events are pending, as done in the calls to
other events.

Signed-off-by: default avatarMoti Haimovski <mhaimovski@habana.ai>
Reviewed-by: default avatarOded Gabbay <ogabbay@kernel.org>
Signed-off-by: default avatarOded Gabbay <ogabbay@kernel.org>
parent 57469c12
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment