]> git.baikalelectronics.ru Git - kernel.git/commit
habanalabs: disable FW events on device removal
authorOded Gabbay <ogabbay@kernel.org>
Mon, 18 Jan 2021 19:39:46 +0000 (21:39 +0200)
committerOded Gabbay <ogabbay@kernel.org>
Thu, 21 Jan 2021 18:30:22 +0000 (20:30 +0200)
commit47a0c99c4a13ed9b29c9e17bfc3295b18ad50ff0
tree0372ad45d1d61e7351ae5abb3a7403cda7589f44
parent6d2208e5efe455795286ba917bfd87b9664fc468
habanalabs: disable FW events on device removal

When device is removed, we need to make sure the F/W won't send us
any more events because during the remove process we disable the
interrupts.

Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
drivers/misc/habanalabs/common/device.c