git.samba.org
/
sfrench
/
cifs-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tee: optee: add TEE bus device enumeration support
[sfrench/cifs-2.6.git]
/
drivers
/
tee
/
optee
/
core.c
diff --git
a/drivers/tee/optee/core.c
b/drivers/tee/optee/core.c
index e5efce3c08e2eee08c3a3bc6fb330da07df5c4b8..ac59c77841a4948d5e8071618d92cffb27bc41d7 100644
(file)
--- a/
drivers/tee/optee/core.c
+++ b/
drivers/tee/optee/core.c
@@
-634,6
+634,10
@@
static struct optee *optee_probe(struct device_node *np)
if (optee->sec_caps & OPTEE_SMC_SEC_CAP_DYNAMIC_SHM)
pr_info("dynamic shared memory is enabled\n");
+ rc = optee_enumerate_devices();
+ if (rc)
+ goto err;
+
pr_info("initialized driver\n");
return optee;
err: