summaryrefslogtreecommitdiffstats
path: root/drivers/accel/habanalabs/common/command_buffer.c
diff options
context:
space:
mode:
authorOded Gabbay <ogabbay@kernel.org>2022-12-22 11:28:54 +0100
committerOded Gabbay <ogabbay@kernel.org>2023-01-26 10:52:10 +0100
commite1e8e7472b8c647c4e117191d6b44b852c90cd24 (patch)
tree16e6d7aa29bf408359260c6f2b62b8a629eea4cc /drivers/accel/habanalabs/common/command_buffer.c
parenthabanalabs: update f/w files (diff)
downloadlinux-e1e8e7472b8c647c4e117191d6b44b852c90cd24.tar.xz
linux-e1e8e7472b8c647c4e117191d6b44b852c90cd24.zip
habanalabs: move some prints to debug level
When entering an IOCTL, the driver prints a message in case device is not operational. This message should be printed in debug level as it can spam the kernel log and it is not an error. Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Diffstat (limited to 'drivers/accel/habanalabs/common/command_buffer.c')
-rw-r--r--drivers/accel/habanalabs/common/command_buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/accel/habanalabs/common/command_buffer.c b/drivers/accel/habanalabs/common/command_buffer.c
index 390011b02239..3a0535ac28b1 100644
--- a/drivers/accel/habanalabs/common/command_buffer.c
+++ b/drivers/accel/habanalabs/common/command_buffer.c
@@ -368,7 +368,7 @@ int hl_cb_ioctl(struct hl_fpriv *hpriv, void *data)
int rc;
if (!hl_device_operational(hdev, &status)) {
- dev_warn_ratelimited(hdev->dev,
+ dev_dbg_ratelimited(hdev->dev,
"Device is %s. Can't execute CB IOCTL\n",
hdev->status[status]);
return -EBUSY;