projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
crypto: talitos - Add a feature to tag SEC1
[deliverable/linux.git]
/
drivers
/
crypto
/
talitos.c
diff --git
a/drivers/crypto/talitos.c
b/drivers/crypto/talitos.c
index bca6dedb357d385146a4dbe31efb28fca337b773..db950236183d212b2d85619cde32827c37832cf8 100644
(file)
--- a/
drivers/crypto/talitos.c
+++ b/
drivers/crypto/talitos.c
@@
-2709,6
+2709,9
@@
static int talitos_probe(struct platform_device *ofdev)
TALITOS_FTR_SHA224_HWINIT |
TALITOS_FTR_HMAC_OK;
+ if (of_device_is_compatible(np, "fsl,sec1.0"))
+ priv->features |= TALITOS_FTR_SEC1;
+
priv->chan = kzalloc(sizeof(struct talitos_channel) *
priv->num_channels, GFP_KERNEL);
if (!priv->chan) {
This page took
0.031182 seconds
and
5
git commands to generate.