diff options
| author | Dafna Hirschfeld <dhirschfeld@habana.ai> | 2023-02-20 10:09:25 +0200 |
|---|---|---|
| committer | Oded Gabbay <ogabbay@kernel.org> | 2023-03-20 17:35:29 +0200 |
| commit | 077a39fabefaef12c802b7b32facb831dd33ea92 (patch) | |
| tree | 6e3bd41404e8f13106da5024c15b7e943fa2f61e /lib/mpi/mpiutil.c | |
| parent | 8c695455ee2e834b8fa5c588a46eb204938e7052 (diff) | |
accel/habanalabs: in hw_fini return error code if polling timed-out
In hw_fini callback, we use either the cpucp packet method or polling a
register. Currently we return error only in the case of cpucp packet
failure. In this patch we also return error if polling timed out.
Signed-off-by: Dafna Hirschfeld <dhirschfeld@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions
