]> 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)
commit8c0aeeda585be1a256bb6ac2d0566a2aa093b935
tree0372ad45d1d61e7351ae5abb3a7403cda7589f44
parent01abf07ce38bf70edd0d26228a1208c1f9a5cf2e
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