diff options
author | Dafna Hirschfeld <dhirschfeld@habana.ai> | 2023-02-15 13:15:57 +0300 |
---|---|---|
committer | Oded Gabbay <ogabbay@kernel.org> | 2023-03-15 14:29:14 +0300 |
commit | 86b74d843897fdb9f2366bc515e9d52816e3d247 (patch) | |
tree | 80d6aaa65fc82efa33fd40f80f6eb14f99141b0d /scripts/lib/kdoc/kdoc_files.py | |
parent | d85f0531b9285cf7dc6784b06e7e7dbc1c04dcee (diff) | |
download | linux-86b74d843897fdb9f2366bc515e9d52816e3d247.tar.xz |
accel/habanalabs: assert return value of hw_fini
Since hw_fini return error code for failure indication, we should
check its return value. Currently it might only fail upon soft-reset
from hl_device_reset. Later patch will add hw_fini failure in case of
polling timeout in hard-reset.
Signed-off-by: Dafna Hirschfeld <dhirschfeld@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Reviewed-by: Stanislaw Gruszka <stanislaw.gruszka@linux.intel.com>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions