mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
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>
This commit is contained in:
parent
82629c71c2
commit
d5546d78ad
1 changed files with 12 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue