]> git.proxmox.com Git - mirror_ubuntu-hirsute-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)
commit2dc4a6d79168e7e426e8ddf8e7219c9ffd13b2b1
tree0372ad45d1d61e7351ae5abb3a7403cda7589f44
parentf8abaf379bfe19600f96ae79a6759eb37039ae05
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