summaryrefslogtreecommitdiffstats
path: root/drivers/misc
diff options
context:
space:
mode:
authorOmer Shpigelman <oshpigelman@habana.ai>2020-07-04 21:51:16 +0200
committerOded Gabbay <oded.gabbay@gmail.com>2020-07-24 19:31:35 +0200
commit917b79b09671740ce2e2c702641e50f890b27a67 (patch)
tree3727701c4b51a01fb7f07e17a796905ceccf16d3 /drivers/misc
parenthabanalabs: calculate trace frequency from PLL (diff)
downloadlinux-917b79b09671740ce2e2c702641e50f890b27a67.tar.xz
linux-917b79b09671740ce2e2c702641e50f890b27a67.zip
habanalabs: rephrase error message
Rephrase F/W error message to make it more understandable to ordinary users. Signed-off-by: Omer Shpigelman <oshpigelman@habana.ai> Reviewed-by: Oded Gabbay <oded.gabbay@gmail.com> Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Diffstat (limited to 'drivers/misc')
-rw-r--r--drivers/misc/habanalabs/firmware_if.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/misc/habanalabs/firmware_if.c b/drivers/misc/habanalabs/firmware_if.c
index 15e0793da655..6900c01d060f 100644
--- a/drivers/misc/habanalabs/firmware_if.c
+++ b/drivers/misc/habanalabs/firmware_if.c
@@ -569,7 +569,8 @@ int hl_fw_init_cpu(struct hl_device *hdev, u32 cpu_boot_status_reg,
"Device reports FIT image is corrupted\n");
else
dev_err(hdev->dev,
- "Device failed to load, %d\n", status);
+ "Failed to load firmware to device, %d\n",
+ status);
rc = -EIO;
goto out;