summaryrefslogtreecommitdiff
path: root/drivers/crypto
diff options
context:
space:
mode:
authorJonathan McDowell <noodles@earth.li>2023-02-28 21:28:40 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2023-03-14 12:06:44 +0300
commit86e8e3ce4ba3a55f5a603a60366aaa61560dda2a (patch)
tree0a3116c88f40ee3f97862cbedabd8ab5cf588fae /drivers/crypto
parent88fca80ec9394f06adae712da409748171ad9d95 (diff)
downloadlinux-86e8e3ce4ba3a55f5a603a60366aaa61560dda2a.tar.xz
crypto: safexcel - Raise firmware load failure message to error
At the moment if there is no firmware available for the safexcel driver it will fail to load with a cryptic: crypto-safexcel f2800000.crypto: TRC init: 15360d,80a (48r,256h) crypto-safexcel f2800000.crypto: HW init failed (-2) Raise the logging level of the firmware load failure to err rather than dbg so that it's obvious what the reason for the HW init failure is. Signed-off-by: Jonathan McDowell <noodles@earth.li> Reviewed-by: Antoine Tenart <atenart@kernel.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto')
-rw-r--r--drivers/crypto/inside-secure/safexcel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/inside-secure/safexcel.c b/drivers/crypto/inside-secure/safexcel.c
index 6858753af6b3..5e10ab24be3b 100644
--- a/drivers/crypto/inside-secure/safexcel.c
+++ b/drivers/crypto/inside-secure/safexcel.c
@@ -474,7 +474,7 @@ release_fw:
goto retry_fw;
}
- dev_dbg(priv->dev, "Firmware load failed.\n");
+ dev_err(priv->dev, "Firmware load failed.\n");
return ret;
}