diff options
author | Oded Gabbay <ogabbay@kernel.org> | 2021-07-01 11:42:53 +0300 |
---|---|---|
committer | Oded Gabbay <ogabbay@kernel.org> | 2021-08-29 09:47:45 +0300 |
commit | d5546d78ad409b90dbcb62100458875e8eaf6a0d (patch) | |
tree | 34f8be9f197808e6a5aac30f5737fd05acaa5ea2 /tools/usb/.gitignore | |
parent | 82629c71c26c1a67a26b0b25971da97003c3b287 (diff) | |
download | linux-d5546d78ad409b90dbcb62100458875e8eaf6a0d.tar.xz |
habanalabs: re-init completion object upon retry
In case user interrupt arrived but the completion value is less than
the target value, we want to retry the wait.
However, before the retry we must reinitialize the completion object,
under spin-lock, so the wait function won't exit immediately because
the completion object is already completed (from the previous
interrupt).
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Diffstat (limited to 'tools/usb/.gitignore')
0 files changed, 0 insertions, 0 deletions