]> git.baikalelectronics.ru Git - kernel.git/commit
habanalabs: prevent false heartbeat message
authorOded Gabbay <ogabbay@kernel.org>
Sat, 13 Nov 2021 15:58:43 +0000 (17:58 +0200)
committerOded Gabbay <ogabbay@kernel.org>
Sun, 26 Dec 2021 06:59:06 +0000 (08:59 +0200)
commit1245ec44083dc31857133cf01f6857fd7379bf23
tree114e79e70ba6c1837930a04d9126f9f79caee3c2
parent4c3e2b343cbf1098006c6397d67774c1c3a944d3
habanalabs: prevent false heartbeat message

If a device reset has started, there is a chance that the heartbeat
function will fail because the device is disabled at the beginning
of the reset function.

In that case, we don't want the error message to appear in the log.

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