Skip to content

Commit 86e8e3c

Browse files
u1f35cherbertx
authored andcommitted
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 <[email protected]> Reviewed-by: Antoine Tenart <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
1 parent 88fca80 commit 86e8e3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/crypto/inside-secure/safexcel.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ static int eip197_load_firmwares(struct safexcel_crypto_priv *priv)
474474
goto retry_fw;
475475
}
476476

477-
dev_dbg(priv->dev, "Firmware load failed.\n");
477+
dev_err(priv->dev, "Firmware load failed.\n");
478478

479479
return ret;
480480
}

0 commit comments

Comments
 (0)