Commit d5546d78 authored by Oded Gabbay's avatar Oded Gabbay
Browse files

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: default avatarOded Gabbay <ogabbay@kernel.org>
parent 82629c71
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment