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)
commitfe8d70873c4919086d5929c49e1c6cd6bb7d1de3
tree114e79e70ba6c1837930a04d9126f9f79caee3c2
parent3e55b5dbf929a40966b8eb7d4de94fad3bb404bd
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