]> git.baikalelectronics.ru Git - kernel.git/commit
habanalabs: refactor wait-for-user-interrupt function
authorBharat Jauhari <bjauhari@habana.ai>
Wed, 8 Sep 2021 14:32:54 +0000 (17:32 +0300)
committerOded Gabbay <ogabbay@kernel.org>
Sun, 26 Dec 2021 06:59:05 +0000 (08:59 +0200)
commit05c8b56d31fe401d01ec4476ad033a586238b211
tree072fe556c9b9b7086ae400d088f17109a72dabb0
parentc48a82d548d281676ef3ebdfc78a53773691adbb
habanalabs: refactor wait-for-user-interrupt function

Refactor the wait-for-user-interrupt routine to make it more
generic for re-use for other user exposed h/w interfaces in future
ASICs.

Signed-off-by: Bharat Jauhari <bjauhari@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
drivers/misc/habanalabs/common/command_submission.c