Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1ca5b7d9 authored by Nicolas Ferre's avatar Nicolas Ferre
Browse files

crypto: atmel-sha - add sha information to the log



Depending on peripheral capabilities, print SHA information at the end
of the probe function.

Signed-off-by: default avatarNicolas Ferre <nicolas.ferre@atmel.com>
Acked-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent abfe7ae4
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1469,7 +1469,9 @@ static int atmel_sha_probe(struct platform_device *pdev)
	if (err)
		goto err_algs;

	dev_info(dev, "Atmel SHA1/SHA256\n");
	dev_info(dev, "Atmel SHA1/SHA256%s%s\n",
			sha_dd->caps.has_sha224 ? "/SHA224" : "",
			sha_dd->caps.has_sha_384_512 ? "/SHA384/SHA512" : "");

	return 0;